From 1fe23b97fd7a06b22ea6e55a9566d0e273fa6675 Mon Sep 17 00:00:00 2001 From: dongresource Date: Wed, 7 Oct 2020 21:13:26 +0200 Subject: [PATCH] Fixed RunningNPCRotations being forgotten across server invocations. --- src/TableData.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TableData.cpp b/src/TableData.cpp index fccf2b0..0328bb8 100644 --- a/src/TableData.cpp +++ b/src/TableData.cpp @@ -375,6 +375,8 @@ void TableData::loadGruntwork(int32_t *nextId) { continue; // NPC not found BaseNPC* npc = NPCManager::NPCs[npcID]; npc->appearanceData.iAngle = angle; + + RunningNPCRotations[npcID] = angle; } // mobs