aboutsummaryrefslogtreecommitdiff
path: root/src/mangosd/WorldRunnable.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-09 17:07:12 -0600
committermegamage <none@none>2009-03-09 17:07:12 -0600
commit1f296b7d40c16e209b8cee6a64c166fef6d4b8fd (patch)
tree5b1ecf2dad11661b2bb37b4cfd1e3d63d0a21e6f /src/mangosd/WorldRunnable.cpp
parent01b67a1f6a08b22dcdea6e7f5647bb37dc2465d9 (diff)
[7414] Fixed premature finish timer messages for battleground (va_start was broken). Author: Triply
Fixed typo with BattleGroundPlayerMap. Optimized implementation for removing offline players from battleground. Fixed typo in BattleGroundMgr::DeleteAllBattleGrounds. Patch is tested and should work. TODO there is a bug if you disable premature finish timer, that can cause battlegrounds to be never ending! TODO rewrite BattleGround::RemovePlayer function - and fix bugs there! I might not have today enough time to fix those bugs. --HG-- branch : trunk
Diffstat (limited to 'src/mangosd/WorldRunnable.cpp')
-rw-r--r--src/mangosd/WorldRunnable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mangosd/WorldRunnable.cpp b/src/mangosd/WorldRunnable.cpp
index 0fb24577e32..689b1d216a9 100644
--- a/src/mangosd/WorldRunnable.cpp
+++ b/src/mangosd/WorldRunnable.cpp
@@ -89,7 +89,7 @@ void WorldRunnable::run()
sWorld.UpdateSessions( 1 ); // real players unload required UpdateSessions call
// unload battleground templates before different singletons destroyed
- sBattleGroundMgr.DeleteAlllBattleGrounds();
+ sBattleGroundMgr.DeleteAllBattleGrounds();
sWorldSocketMgr->StopNetwork();