diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-28 17:29:02 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-28 17:29:02 +0000 |
commit | e1792fb0a2b7c51c30ec3f54cedcaa012fb009f7 (patch) | |
tree | 270a68526ed8e2afc03684415ed19894c1faa30f /src/map/status.c | |
parent | 21b1ce2948355586285f4fa3f5f1fc979cb03fb5 (diff) | |
download | hercules-e1792fb0a2b7c51c30ec3f54cedcaa012fb009f7.tar.gz hercules-e1792fb0a2b7c51c30ec3f54cedcaa012fb009f7.tar.bz2 hercules-e1792fb0a2b7c51c30ec3f54cedcaa012fb009f7.tar.xz hercules-e1792fb0a2b7c51c30ec3f54cedcaa012fb009f7.zip |
- 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
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 6 |
1 files changed, 0 insertions, 6 deletions
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; |