(svn r19544) -Feature [FS#3496]: add an input box to the AI Debug window where you can input a break string (patch by Zuu)
This commit is contained in:
@@ -658,6 +658,12 @@ void AIInstance::Save()
|
||||
|
||||
}
|
||||
|
||||
void AIInstance::Suspend()
|
||||
{
|
||||
HSQUIRRELVM vm = this->engine->GetVM();
|
||||
Squirrel::DecreaseOps(vm, _settings_game.ai.ai_max_opcode_till_suspend);
|
||||
}
|
||||
|
||||
/* static */ bool AIInstance::LoadObjects(HSQUIRRELVM vm)
|
||||
{
|
||||
SlObject(NULL, _ai_byte);
|
||||
|
Reference in New Issue
Block a user