Преглед на файлове

Merge pull request #1081 from Areloch/static_startTime_fix

Based on Tron's suggestion, making the startTime var static to avoid possible collisions
Brian Roberts преди 2 години
родител
ревизия
4d084a2b0f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Engine/source/console/console.cpp

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

@@ -308,7 +308,7 @@ bool useTimestamp = false;
 bool useRealTimestamp = false;
 
 static U32 initTime = Platform::getRealMilliseconds();
-U32 startTime = initTime;
+static U32 startTime = initTime;
 
 ConsoleFunctionGroupBegin( Clipboard, "Miscellaneous functions to control the clipboard and clear the console.");