Buildfix 2

This commit is contained in:
funjoker committed 2023-09-16 22:20:33 +02:00
1 parent 5ffa513be8
commit 7608d21cbb
1 file changed
+2 -1
@@ -922,7 +922,8 @@ struct npc_rhyolith_volcano : public NullCreatureAI
me->UpdateEntry(NPC_VOLCANO_CRATER, nullptr, false);
if (CreatureTemplate const* transformTemplate = sObjectMgr->GetCreatureTemplate(NPC_VOLCANO_CRATER))
me->SetDisplayFromModel(1);
if (CreatureModel const* model = transformTemplate->GetModelByIdx(1))
me->SetDisplayId(model->CreatureDisplayID);
break;
default:
break;