[7130] Changet all *::Update(time_t) to *::Update(uint32), there is no need to use time_t (mostly 64b) because time diffs are very small numbers and the base calculation of diff is done as uint32.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-01-21 02:45:31 +01:00
parent a92354afed
commit 1718653e63
33 changed files with 35 additions and 35 deletions

View file

@ -1412,7 +1412,7 @@ void World::DetectDBCLang()
}
/// Update the World !
void World::Update(time_t diff)
void World::Update(uint32 diff)
{
///- Update the different timers
for(int i = 0; i < WUPDATE_COUNT; i++)
@ -2591,7 +2591,7 @@ void World::SendServerMessage(uint32 type, const char *text, Player* player)
SendGlobalMessage( &data );
}
void World::UpdateSessions( time_t diff )
void World::UpdateSessions( uint32 diff )
{
///- Add new sessions
while(!addSessQueue.empty())