diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 3515bb806..eff41422c 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -17749,7 +17749,10 @@ void clif_parse_CashShopReqTab(int fd, struct map_session_data *sd) { void clif_maptypeproperty2(struct block_list *bl,enum send_target t) { #if PACKETVER >= 20121010 struct packet_maptypeproperty2 p; - struct map_session_data *sd = BL_CAST(BL_PC, bl); + struct map_session_data *sd = NULL; + nullpo_retv(bl); + + sd = BL_CAST(BL_PC, bl); p.PacketType = maptypeproperty2Type; p.type = 0x28; |