From 78c6f16d7985b4b5c3abc4168a530b645b7c4d40 Mon Sep 17 00:00:00 2001 From: Deve Date: Thu, 18 Apr 2024 19:27:18 +0200 Subject: [PATCH] Fixed a crash when entering story mode --- src/graphics/draw_calls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/draw_calls.cpp b/src/graphics/draw_calls.cpp index 3df226997..d89a715f8 100644 --- a/src/graphics/draw_calls.cpp +++ b/src/graphics/draw_calls.cpp @@ -187,7 +187,7 @@ void DrawCalls::parseSceneManager(core::array &List, else if (STKTextBillboard *tb = dynamic_cast(List[i])) { - node->updateAbsolutePosition(); + tb->updateAbsolutePosition(); if (!isCulledPrecise(cam, List[i], irr_driver->getBoundingBoxesViz())) TextBillboardDrawer::addTextBillboard(tb); continue;