diff options
author | shennetsind <ind@henn.et> | 2014-02-04 10:44:33 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-02-04 10:44:33 -0200 |
commit | 144a9eba25cd6773cd85e6446f72ca183bc8cc58 (patch) | |
tree | e1afe81de18c14533fea4afb74131d1d799bc2a1 /src/map/clif.c | |
parent | 250ec31ab4af9a3370d4412689802f9c46c45bea (diff) | |
download | hercules-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/clif.c')
-rw-r--r-- | src/map/clif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 1e1a98e09..5dacf6360 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -17118,15 +17118,15 @@ int clif_elementalconverter_list(struct map_session_data *sd) { /** * Rune Knight **/ -void clif_millenniumshield(struct map_session_data *sd, short shields ) { +void clif_millenniumshield(struct block_list *bl, short shields ) { #if PACKETVER >= 20081217 unsigned char buf[10]; WBUFW(buf,0) = 0x440; - WBUFL(buf,2) = sd->bl.id; + WBUFL(buf,2) = bl->id; WBUFW(buf,6) = shields; WBUFW(buf,8) = 0; - clif->send(buf,packet_len(0x440),&sd->bl,AREA); + clif->send(buf,packet_len(0x440),bl,AREA); #endif } /** |