aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level0.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/Level0.cpp
parent61b999fd3a70eff6ccf3d460534c21ba3a3f9408 (diff)
[7362] Use IN_MILISECONDS where appropriate, other cleanups. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/Level0.cpp')
-rw-r--r--src/game/Level0.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Level0.cpp b/src/game/Level0.cpp
index fcd40455072..e3c0c9f86f7 100644
--- a/src/game/Level0.cpp
+++ b/src/game/Level0.cpp
@@ -148,7 +148,7 @@ bool ChatHandler::HandleSaveCommand(const char* /*args*/)
// save or plan save after 20 sec (logout delay) if current next save time more this value and _not_ output any messages to prevent cheat planning
uint32 save_interval = sWorld.getConfig(CONFIG_INTERVAL_SAVE);
- if(save_interval==0 || save_interval > 20*1000 && player->GetSaveTimer() <= save_interval - 20*1000)
+ if(save_interval==0 || save_interval > 20*IN_MILISECONDS && player->GetSaveTimer() <= save_interval - 20*IN_MILISECONDS)
player->SaveToDB();
return true;