summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-03 19:06:47 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-03 19:06:47 +0300
commit256f7e510fd59715d90d6ef34ba829e5c2cf0d4a (patch)
tree89dff1328642c957d17f460643a266f5aedd92dd
parent112d2d91c4a22f44192872ddca8f47f5ca9a5e62 (diff)
downloadhercules-256f7e510fd59715d90d6ef34ba829e5c2cf0d4a.tar.gz
hercules-256f7e510fd59715d90d6ef34ba829e5c2cf0d4a.tar.bz2
hercules-256f7e510fd59715d90d6ef34ba829e5c2cf0d4a.tar.xz
hercules-256f7e510fd59715d90d6ef34ba829e5c2cf0d4a.zip
Add missing initialisation in sd.
-rw-r--r--src/map/pc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 93f23c584..51aba9509 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -676,6 +676,7 @@ int pc_setnewpc(struct map_session_data *sd, int account_id, int char_id, int lo
//Required to prevent homunculus copuing a base speed of 0.
sd->battle_status.speed = sd->base_status.speed = DEFAULT_WALK_SPEED;
sd->state.warp_clean = 1;
+ sd->catch_target_class = -1;
return 0;
}