script stabilization tweaks

Con::EvalResult CodeBlock::exec -
 objectCreationStackIndex needs to be signed as we test if it goes sub-zero
ConsoleValue Namespace::Entry::execute -
compiler yells about returning a temp via std::move
bool TorqueScriptRuntime::executeFile -
report the name of the dso output file, not the source scxript input file
This commit is contained in:
AzaezelX 2024-01-02 18:15:21 -06:00
parent 4c58a3601f
commit b366ff9b1c
3 changed files with 4 additions and 4 deletions

View file

@ -666,7 +666,7 @@ Con::EvalResult CodeBlock::exec(U32 ip, const char* functionName, Namespace* thi
StringTableEntry fnNamespace, fnPackage;
static const U32 objectCreationStackSize = 32;
U32 objectCreationStackIndex = 0;
S32 objectCreationStackIndex = 0;
struct {
SimObject* newObject;
U32 failJump;