浏览代码

Based on Tron's suggestion, making the startTime var static to avoid possible collisions

Areloch 2 年之前
父节点
当前提交
c6f0f9cfd3
共有 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.");