(svn r23118) -Feature: [NoAI] Allow AIs to query the amount of remaining operations for the current tick

This commit is contained in:
rubidium
2011-11-04 23:20:14 +00:00
parent 02913f40b0
commit 65d0d19b16
10 changed files with 52 additions and 6 deletions

View File

@@ -789,3 +789,8 @@ bool AIInstance::CallLoad()
sq_pop(vm, 4);
return true;
}
SQInteger AIInstance::GetOpsTillSuspend()
{
return this->engine->GetOpsTillSuspend();
}