Fix combat facing updates and dead-on-spawn creature pose

This commit is contained in:
Kelsi 2026-02-19 01:19:29 -08:00
parent 8efc21115f
commit fc0ac6dd0f
3 changed files with 26 additions and 2 deletions

View file

@ -175,6 +175,7 @@ private:
std::unordered_map<uint32_t, FacialHairGeosets> facialHairGeosetMap_;
std::unordered_map<uint64_t, uint32_t> creatureInstances_; // guid → render instanceId
std::unordered_map<uint64_t, uint32_t> creatureModelIds_; // guid → loaded modelId
std::unordered_set<uint64_t> deadCreatureGuids_; // GUIDs that should spawn in corpse/death pose
std::unordered_map<uint32_t, uint32_t> displayIdModelCache_; // displayId → modelId (model caching)
uint32_t nextCreatureModelId_ = 5000; // Model IDs for online creatures
uint32_t gryphonDisplayId_ = 0;