From 85d28160134fc81d28304ffd3361a589a96b848a Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 20 Nov 2008 10:43:20 -0600 Subject: *DB script table stucture change. Source Mangos. Also fix some bugs. Hopefully this rev will make program usable again. --HG-- branch : trunk --- src/trinitycore/WorldRunnable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/trinitycore/WorldRunnable.cpp') diff --git a/src/trinitycore/WorldRunnable.cpp b/src/trinitycore/WorldRunnable.cpp index 1a30740ddd9..5592b1d2064 100644 --- a/src/trinitycore/WorldRunnable.cpp +++ b/src/trinitycore/WorldRunnable.cpp @@ -51,7 +51,7 @@ void WorldRunnable::run() uint32 prevSleepTime = 0; // used for balanced full tick time length near WORLD_SLEEP_CONST ///- While we have not World::m_stopEvent, update the world - while (!World::m_stopEvent) + while (!World::IsStopped()) { ++World::m_worldLoopCounter; realCurrTime = getMSTime(); -- cgit v1.2.3