summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-02 17:06:16 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-02 17:06:16 +0000
commit341985a701d0155df6f69dccca969d1abccb3588 (patch)
tree90132547dd700356bff260224bdad8987ee0a1bf /src/map/script.c
parent50e0a8275360f5c3b77e6891784b904a97169849 (diff)
downloadhercules-341985a701d0155df6f69dccca969d1abccb3588.tar.gz
hercules-341985a701d0155df6f69dccca969d1abccb3588.tar.bz2
hercules-341985a701d0155df6f69dccca969d1abccb3588.tar.xz
hercules-341985a701d0155df6f69dccca969d1abccb3588.zip
- Fixed Defender Raising Walk speed instead of diminishing it.
- Swaped val3/val4 of defender so that all walking penalty skills store said penalty in val3. - Added a check on status-change load to prevent loading speed-affecting status when their speed adjustment is 0 (prevents division by zero) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8061 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 23bc4c505..33bb2e1d9 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -2759,8 +2759,6 @@ void run_script_main(struct script_state *st)
bk_st = NULL;
}
-
-
}
/*==========================================
@@ -10028,9 +10026,7 @@ int buildin_getpetinfo(struct script_state *st)
break;
case 2:
if(sd->pet.name)
- {
push_str(st->stack,C_CONSTSTR,(unsigned char *) sd->pet.name);
- }
else
push_str(st->stack,C_CONSTSTR, (unsigned char *) "null");
break;