aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Timer.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-04 10:33:18 -0600
committermegamage <none@none>2009-02-04 10:33:18 -0600
commit4d008f2043084b72fb9d4a9929ff2793c7bbd8ee (patch)
tree13e4adc5b3dae7f3c1805c95e940d785535375af /src/shared/Timer.h
parentedbfb386ce87f918da8e11e843d7b5a227e5328d (diff)
Replace tabs with spaces, and fix crlf issues
--HG-- branch : trunk
Diffstat (limited to 'src/shared/Timer.h')
-rw-r--r--src/shared/Timer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/Timer.h b/src/shared/Timer.h
index 7bc0031a5de..848a8cfac4f 100644
--- a/src/shared/Timer.h
+++ b/src/shared/Timer.h
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
*
* Copyright (C) 2008 Trinity <http://www.trinitycore.org/>
@@ -50,7 +50,7 @@ inline uint32 getMSTime()
inline uint32 getMSTimeDiff(uint32 oldMSTime, uint32 newMSTime)
{
// getMSTime() have limited data range and this is case when it overflow in this tick
- if (oldMSTime > newMSTime)
+ if (oldMSTime > newMSTime)
return (0xFFFFFFFF - oldMSTime) + newMSTime;
else
return newMSTime - oldMSTime;