(svn r15406) -Fix: make Valuate actually cost a few opcodes to not make it a single opcode method of doing lots of the same thing. This should resolve most of the hiccups caused by AIs.
This commit is contained in:
@@ -454,3 +454,8 @@ void Squirrel::InsertResult(int result)
|
||||
vm->GetAt(vm->_stackbase + vm->_suspended_target) = vm->GetUp(-1);
|
||||
vm->Pop();
|
||||
}
|
||||
|
||||
/* static */ void Squirrel::DecreaseOps(HSQUIRRELVM vm, int ops)
|
||||
{
|
||||
vm->DecreaseOps(ops);
|
||||
}
|
||||
|
Reference in New Issue
Block a user