浏览代码

Fix for unexpected behavior described in issue #704

Andrew Mac 11 年之前
父节点
当前提交
b661abaf83
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Engine/source/console/compiledEval.cpp

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

@@ -1572,6 +1572,7 @@ breakContinue:
 
                   Con::warnf(ConsoleLogEntry::General,"%s: Unable to find object: '%s' attempting to call function '%s'", getFileLine(ip-4), callArgv[1], fnName);
                   STR.popFrame();
+                  STR.setStringValue("");
                   break;
                }