Browse Source

Merge pull request #1476 from Azaezel/alpha41/dialback

dial back a case of stringtable over use
Brian Roberts 4 months ago
parent
commit
85d4fa1bda
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/console/torquescript/compiledEval.cpp

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

@@ -1722,7 +1722,7 @@ Con::EvalResult CodeBlock::exec(U32 ip, const char* functionName, Namespace* thi
          TORQUE_CASE_FALLTHROUGH;
 
       case OP_LOADIMMED_STR:
-         stack[_STK + 1].setStringTableEntry(curStringTable + code[ip++]);
+         stack[_STK + 1].setString(curStringTable + code[ip++]);
          _STK ++;
          break;