(svn r23359) -Codechange: move AI_VMSuspend to Script_Suspend (and to its own file)

This commit is contained in:
truebrain
2011-11-29 23:21:24 +00:00
parent bbd9facb44
commit 75c4bd280a
10 changed files with 85 additions and 53 deletions

View File

@@ -21,6 +21,7 @@
#include "../../ai/ai_config.hpp"
#include "../../ai/ai.hpp"
#include "../script_fatalerror.hpp"
#include "../script_suspend.hpp"
#include "script_log.hpp"
/* static */ void ScriptController::SetCommandDelay(int ticks)
@@ -40,7 +41,7 @@
ticks = 1;
}
throw AI_VMSuspend(ticks, NULL);
throw Script_Suspend(ticks, NULL);
}
/* static */ void ScriptController::Print(bool error_msg, const char *message)