mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 13:30:06 +00:00
Fixed RunningNPCRotations being forgotten across server invocations.
This commit is contained in:
parent
0d0332e551
commit
1fe23b97fd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user