Fixed a crash when entering story mode

This commit is contained in:
Deve 2024-04-18 19:27:18 +02:00
parent 754a11030e
commit 78c6f16d79

View File

@ -187,7 +187,7 @@ void DrawCalls::parseSceneManager(core::array<scene::ISceneNode*> &List,
else if (STKTextBillboard *tb =
dynamic_cast<STKTextBillboard*>(List[i]))
{
node->updateAbsolutePosition();
tb->updateAbsolutePosition();
if (!isCulledPrecise(cam, List[i], irr_driver->getBoundingBoxesViz()))
TextBillboardDrawer::addTextBillboard(tb);
continue;