Browse Source

a reminder that this isn't safe for dedicated servers that run a long time

Thomas "elfprince13" Dickerson 8 years ago
parent
commit
a8793a5048
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/console/simManager.cpp

+ 1 - 1
Engine/source/console/simManager.cpp

@@ -99,7 +99,7 @@ U32 postEvent(SimObject *destObject, SimEvent* event,U32 time)
 
    Mutex::lockMutex(gEventQueueMutex);
 
-   if( time == -1 )
+	if( time == -1 ) // FIXME: a smart compiler will remove this check. - see http://garagegames.com/community/resources/view/19785 for a fix
       time = gCurrentTime;
 
    event->time = time;