From a50c6281bbad73cd4155cbf55af4c899c9e2d1ea Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 1 Aug 2008 07:05:16 +0000 Subject: Removed unused guardian hp columns from the guild castles table in main.sql (should have been done in r11915). Corrected incorrect use of the datetime column in the `login` table (bugreport:1962). Refreshed txt account savefile. Cleaned up some random minor source code glitches. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13030 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/map/script.h') diff --git a/src/map/script.h b/src/map/script.h index 981c5b985..d4225d8f8 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -90,10 +90,17 @@ struct script_stack { struct linkdb_node **var_function; // 関数依存変数 }; + +// +// Script state +// +enum e_script_state { RUN,STOP,END,RERUNLINE,GOTO,RETFUNC }; + struct script_state { struct script_stack* stack; int start,end; - int pos,state; + int pos; + enum e_script_state state; int rid,oid; struct script_code *script, *scriptroot; struct sleep_data { -- cgit v1.2.3-60-g2f50