This commit is contained in:
TheLuda 2008-10-15 18:25:33 +02:00
parent 899d7dec74
commit 92441a0241
21 changed files with 68 additions and 68 deletions

View file

@ -1,4 +1,4 @@
/*
/*
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify
@ -48,7 +48,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;