From 3039f4399dbef9c72c5312b15c9fbb781e3de5db Mon Sep 17 00:00:00 2001 From: Azaezel Date: Thu, 20 Nov 2014 14:17:59 -0600 Subject: [PATCH] eval(methodWithReturnValue) wasn't passing along it's return value though the stringstack.fix courtessy of @jamesu --- Engine/source/console/compiledEval.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Engine/source/console/compiledEval.cpp b/Engine/source/console/compiledEval.cpp index 495268ed2..4b5871869 100644 --- a/Engine/source/console/compiledEval.cpp +++ b/Engine/source/console/compiledEval.cpp @@ -1831,7 +1831,10 @@ breakContinue: floatStack[++_FLT] = (F32)ret; } else if(code[ip] == OP_STR_TO_NONE) + { + STR.setStringValue(ret.getStringValue()); ip++; + } else STR.setStringValue((const char*)ret);