diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-16 17:51:25 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-16 17:51:25 +0000 |
commit | 7b694adc3afbc616c41d447be20adb3412a9a42d (patch) | |
tree | 28a1600b1280d0b19c1013d7ca8cd3e2fe47a59c /src/map/chrif.c | |
parent | 5498ec6c4370546569603281b5357782e74c65d1 (diff) | |
download | hercules-7b694adc3afbc616c41d447be20adb3412a9a42d.tar.gz hercules-7b694adc3afbc616c41d447be20adb3412a9a42d.tar.bz2 hercules-7b694adc3afbc616c41d447be20adb3412a9a42d.tar.xz hercules-7b694adc3afbc616c41d447be20adb3412a9a42d.zip |
- Fixed a compilation error. ops :3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12378 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index 96abe107c..4ae98408e 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -903,21 +903,20 @@ int chrif_divorce(int char_id, int partner_id) int chrif_deadopt(int father_id, int mother_id, int child_id) { struct map_session_data* sd; - int i; if( father_id && (sd = map_charid2sd(father_id)) != NULL && sd->status.child == child_id ) { sd->status.child = 0; - sd->status.skill[WE_CALLBABY].lv = 0; - sd->status.skill[WE_CALLBABY].flag = 0; + sd->status.skill[410].lv = 0; + sd->status.skill[410].flag = 0; clif_skillinfoblock(sd); } if( mother_id && (sd = map_charid2sd(mother_id)) != NULL && sd->status.child == child_id ) { sd->status.child = 0; - sd->status.skill[WE_CALLBABY].lv = 0; - sd->status.skill[WE_CALLBABY].flag = 0; + sd->status.skill[410].lv = 0; + sd->status.skill[410].flag = 0; clif_skillinfoblock(sd); } |