mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
[7487] Avoid attempt use InstanceSave data for non-dungeons.
Also check map existance and correctness at instance data loading. Removed unused and totally bugged InstanceMap::GetResetTime.
This commit is contained in:
parent
b3490d3b74
commit
a7fd57cc74
6 changed files with 85 additions and 70 deletions
|
|
@ -530,7 +530,6 @@ class MANGOS_DLL_SPEC InstanceMap : public Map
|
|||
uint32 GetScriptId() { return i_script_id; }
|
||||
InstanceData* GetInstanceData() { return i_data; }
|
||||
void PermBindAllPlayers(Player *player);
|
||||
time_t GetResetTime();
|
||||
void UnloadAll(bool pForce);
|
||||
bool CanEnter(Player* player);
|
||||
void SendResetWarnings(uint32 timeLeft) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue