aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameEvent.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-02 16:53:50 -0600
committermegamage <none@none>2009-03-02 16:53:50 -0600
commitb1677c901d8d45e60947e30ff98d7ac5d01bd685 (patch)
tree8fb93b82b46007f092525e0551a5fb9adce66d36 /src/game/GameEvent.cpp
parent61b999fd3a70eff6ccf3d460534c21ba3a3f9408 (diff)
[7362] Use IN_MILISECONDS where appropriate, other cleanups. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/GameEvent.cpp')
-rw-r--r--src/game/GameEvent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameEvent.cpp b/src/game/GameEvent.cpp
index 49b55f727e6..278ddbf0cf9 100644
--- a/src/game/GameEvent.cpp
+++ b/src/game/GameEvent.cpp
@@ -1076,7 +1076,7 @@ uint32 GameEvent::Update() // return the next e
for(std::set<uint16>::iterator itr = deactivate.begin(); itr != deactivate.end(); ++itr)
StopEvent(*itr);
sLog.outDetail("Next game event check in %u seconds.", nextEventDelay + 1);
- return (nextEventDelay + 1) * 1000; // Add 1 second to be sure event has started/stopped at next call
+ return (nextEventDelay + 1) * IN_MILISECONDS; // Add 1 second to be sure event has started/stopped at next call
}
void GameEvent::UnApplyEvent(uint16 event_id)