diff options
author | megamage <none@none> | 2009-02-25 17:53:05 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-25 17:53:05 -0600 |
commit | ccde296fd3822898e8959c009211fe880a0429f7 (patch) | |
tree | 431667bbae9ca263b572a8d9fd07fb36edbf3472 /src/game/Map.h | |
parent | 8770a90bc6389d123a2716079bde40f43fc26357 (diff) |
*Fix some crash bugs.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.h')
-rw-r--r-- | src/game/Map.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Map.h b/src/game/Map.h index 10d8c914cc2..820971dae49 100644 --- a/src/game/Map.h +++ b/src/game/Map.h @@ -172,7 +172,7 @@ class TRINITY_DLL_SPEC Map : public GridRefManager<NGridType>, public Trinity::O void SetUnloadFlag(const GridPair &p, bool unload) { getNGrid(p.x_coord, p.y_coord)->setUnloadFlag(unload); } void LoadGrid(float x, float y); bool UnloadGrid(const uint32 &x, const uint32 &y, bool pForce); - virtual void UnloadAll(bool pForce); + virtual void UnloadAll(); void ResetGridExpiry(NGridType &grid, float factor = 1) const { @@ -367,7 +367,7 @@ class TRINITY_DLL_SPEC InstanceMap : public Map InstanceData* GetInstanceData() { return i_data; } void PermBindAllPlayers(Player *player); time_t GetResetTime(); - void UnloadAll(bool pForce); + void UnloadAll(); bool CanEnter(Player* player); void SendResetWarnings(uint32 timeLeft) const; void SetResetSchedule(bool on); @@ -388,7 +388,7 @@ class TRINITY_DLL_SPEC BattleGroundMap : public Map void Remove(Player *, bool); bool CanEnter(Player* player); void SetUnload(); - void UnloadAll(bool pForce); + void UnloadAll(); }; /*inline |