diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-29 21:28:35 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-29 21:28:35 +0000 |
commit | 5b5afa7bb6cad66880bbbeee26d0851f25f85d45 (patch) | |
tree | e38849a07c0eef3ea371b67e822dc9149d6fb19b /src/map/script.c | |
parent | 53e1375cb6926b55a1487b61e5616b299e34e2be (diff) | |
download | hercules-5b5afa7bb6cad66880bbbeee26d0851f25f85d45.tar.gz hercules-5b5afa7bb6cad66880bbbeee26d0851f25f85d45.tar.bz2 hercules-5b5afa7bb6cad66880bbbeee26d0851f25f85d45.tar.xz hercules-5b5afa7bb6cad66880bbbeee26d0851f25f85d45.zip |
- Corrected a pretty serious typo in script.c
- Corrected the change that made Coma not be reduced by mdef making Stone, Freeze and Decrease Agi be reduced by luck rather than mdef.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10090 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index c20278dc2..55a0eb23e 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10735,10 +10735,10 @@ BUILDIN_FUNC(jump_zero) sel=script_getnum(st,2); if(!sel) { int pos; - if( !data_islabel(script_getdata(st,2)) ){ + if( !data_islabel(script_getdata(st,3)) ){ ShowError("script: jump_zero: not label !\n"); st->state=END; - return 0; + return 1; } pos=script_getnum(st,3); |