summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-02-04 10:44:33 -0200
committershennetsind <ind@henn.et>2014-02-04 10:44:33 -0200
commit144a9eba25cd6773cd85e6446f72ca183bc8cc58 (patch)
treee1afe81de18c14533fea4afb74131d1d799bc2a1 /src/map/pc.c
parent250ec31ab4af9a3370d4412689802f9c46c45bea (diff)
downloadhercules-144a9eba25cd6773cd85e6446f72ca183bc8cc58.tar.gz
hercules-144a9eba25cd6773cd85e6446f72ca183bc8cc58.tar.bz2
hercules-144a9eba25cd6773cd85e6446f72ca183bc8cc58.tar.xz
hercules-144a9eba25cd6773cd85e6446f72ca183bc8cc58.zip
Fixed millenium shield crash with clones
Thanks to Michieru Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 7ca582b86..8768c83c6 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -196,7 +196,7 @@ int pc_addspiritball(struct map_session_data *sd,int interval,int max)
sd->spirit_timer[i] = tid;
sd->spiritball++;
if( (sd->class_&MAPID_THIRDMASK) == MAPID_ROYAL_GUARD )
- clif->millenniumshield(sd,sd->spiritball);
+ clif->millenniumshield(&sd->bl,sd->spiritball);
else
clif->spiritball(&sd->bl);
@@ -235,7 +235,7 @@ int pc_delspiritball(struct map_session_data *sd,int count,int type)
if(!type) {
if( (sd->class_&MAPID_THIRDMASK) == MAPID_ROYAL_GUARD )
- clif->millenniumshield(sd,sd->spiritball);
+ clif->millenniumshield(&sd->bl,sd->spiritball);
else
clif->spiritball(&sd->bl);
}