mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-02 13:22:17 +00:00
Move player corpses on instance shutdown
Moves corpses to graveyard when an expired instance shuts down. Zones without a graveyard move them to non-instance version instead. Fixes player corpses being left inside instances that expire before graveyards process or in instances without a graveyard
This commit is contained in:
1 parent
de5b7f472d
commit
6c8c81f3db
8 files changed
+118
-17
No files matched your search
@@ -537,6 +537,8 @@ public:
|
||||
void UpdateAllTraps(bool respawn, bool repopnow = false);
|
||||
void ClearTrapPointers();
|
||||
|
||||
int MovePlayerCorpsesToGraveyard(bool force_move_from_instance = false);
|
||||
|
||||
protected:
|
||||
friend class Zone;
|
||||
void Depop(bool StartSpawnTimer = false);
|
||||
|
||||
Reference in new issue
Block a user