Fixed RunningNPCRotations being forgotten across server invocations.

This commit is contained in:
dongresource 2020-10-07 21:13:26 +02:00
parent 0d0332e551
commit 1fe23b97fd

View File

@ -375,6 +375,8 @@ void TableData::loadGruntwork(int32_t *nextId) {
continue; // NPC not found continue; // NPC not found
BaseNPC* npc = NPCManager::NPCs[npcID]; BaseNPC* npc = NPCManager::NPCs[npcID];
npc->appearanceData.iAngle = angle; npc->appearanceData.iAngle = angle;
RunningNPCRotations[npcID] = angle;
} }
// mobs // mobs