summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-29 06:00:05 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-29 06:00:05 +0000
commit04fca41114ed5266a9bdbec60cad4bcdf4541be8 (patch)
tree48f42bb85193af20e8c6a19fdc117d624c781f16 /src/map/chrif.c
parent7845b8fdccdea16d271580f43c5206365ff7719a (diff)
downloadhercules-04fca41114ed5266a9bdbec60cad4bcdf4541be8.tar.gz
hercules-04fca41114ed5266a9bdbec60cad4bcdf4541be8.tar.bz2
hercules-04fca41114ed5266a9bdbec60cad4bcdf4541be8.tar.xz
hercules-04fca41114ed5266a9bdbec60cad4bcdf4541be8.zip
Random assortment of various small corrections and tweaks.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12894 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 4fb22629f..87e174e49 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -17,6 +17,7 @@
#include "npc.h"
#include "pc.h"
#include "pet.h"
+#include "skill.h"
#include "status.h"
#include "mercenary.h"
#include "chrif.h"
@@ -910,18 +911,18 @@ int chrif_deadopt(int father_id, int mother_id, int child_id)
if( father_id && (sd = map_charid2sd(father_id)) != NULL && sd->status.child == child_id )
{
sd->status.child = 0;
- sd->status.skill[410].id = 0;
- sd->status.skill[410].lv = 0;
- sd->status.skill[410].flag = 0;
+ sd->status.skill[WE_CALLBABY].id = 0;
+ sd->status.skill[WE_CALLBABY].lv = 0;
+ sd->status.skill[WE_CALLBABY].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[410].id = 0;
- sd->status.skill[410].lv = 0;
- sd->status.skill[410].flag = 0;
+ sd->status.skill[WE_CALLBABY].id = 0;
+ sd->status.skill[WE_CALLBABY].lv = 0;
+ sd->status.skill[WE_CALLBABY].flag = 0;
clif_skillinfoblock(sd);
}