From e1792fb0a2b7c51c30ec3f54cedcaa012fb009f7 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 28 Mar 2007 17:29:02 +0000 Subject: - Added defines script_getnum and script_getstr to further simplify variable reading code. - Applied mass replacing of text to enforce usage of script_hasdata, script_getnum, script_getstr and data_isstring defines where possible. - Cleaned up the 'input' command code. - Minor other cleanups in script.c - Removed OPTION_SIGHTTRASHER as there's no indication this value exists. - Corrected OPTION_XMAS since 2007 clients have split it up from OPTION_FLYING (on previous clients both were the same option value) - Removed GRF_PATH_FILENAME references (it wasn't used anymore) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10085 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index e0375bfad..b7c595d51 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5933,9 +5933,6 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val case SC_ORCISH: sc->option |= OPTION_ORCISH; break; - case SC_SIGHTTRASHER: - sc->option |= OPTION_SIGHTTRASHER; - break; case SC_FUSION: sc->option |= OPTION_FLYING; break; @@ -6391,9 +6388,6 @@ int status_change_end( struct block_list* bl , int type,int tid ) case SC_RUWACH: sc->option &= ~OPTION_RUWACH; break; - case SC_SIGHTTRASHER: - sc->option &= ~OPTION_SIGHTTRASHER; - break; case SC_FUSION: sc->option &= ~OPTION_FLYING; break; -- cgit v1.2.3-70-g09d2