Browse Source

Initialize mResetLocked too

James Urquhart 11 năm trước cách đây
mục cha
commit
bfca94da5c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      Engine/source/console/consoleInternal.cpp

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

@@ -797,6 +797,7 @@ ExprEvalState::ExprEvalState()
    mStackDepth = 0;
    stack.reserve( 64 );
    mShouldReset = false;
+   mResetLocked = false;
 }
 
 ExprEvalState::~ExprEvalState()