From 75c4bd280a720592ec4df26efbedd9df5baa2d8f Mon Sep 17 00:00:00 2001 From: truebrain Date: Tue, 29 Nov 2011 23:21:24 +0000 Subject: (svn r23359) -Codechange: move AI_VMSuspend to Script_Suspend (and to its own file) --- src/script/api/script_controller.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/script/api/script_controller.cpp') diff --git a/src/script/api/script_controller.cpp b/src/script/api/script_controller.cpp index bc6d060fd..e81af3603 100644 --- a/src/script/api/script_controller.cpp +++ b/src/script/api/script_controller.cpp @@ -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) -- cgit v1.2.3-54-g00ecf