Stop Linux servers from hanging every 34 hours
This drastically increases the amount of time Linux servers can stay up for before hanging.
This commit is contained in:
1 parent
fd7711c35b
commit
cbb3145236
1 file changed
+2
-2
+2
-2
@@ -2974,8 +2974,8 @@ static void I_ShutdownTimer(void)
|
||||
//
|
||||
tic_t I_GetTime (void)
|
||||
{
|
||||
static Uint32 basetime = 0;
|
||||
Uint32 ticks = SDL_GetTicks();
|
||||
static Uint64 basetime = 0;
|
||||
Uint64 ticks = SDL_GetTicks();
|
||||
|
||||
if (!basetime)
|
||||
basetime = ticks;
|
||||
|
||||
Reference in new issue
Block a user