diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-03 19:06:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-03 19:06:47 +0300 |
commit | 256f7e510fd59715d90d6ef34ba829e5c2cf0d4a (patch) | |
tree | 89dff1328642c957d17f460643a266f5aedd92dd /src/map/pc.c | |
parent | 112d2d91c4a22f44192872ddca8f47f5ca9a5e62 (diff) | |
download | hercules-256f7e510fd59715d90d6ef34ba829e5c2cf0d4a.tar.gz hercules-256f7e510fd59715d90d6ef34ba829e5c2cf0d4a.tar.bz2 hercules-256f7e510fd59715d90d6ef34ba829e5c2cf0d4a.tar.xz hercules-256f7e510fd59715d90d6ef34ba829e5c2cf0d4a.zip |
Add missing initialisation in sd.
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 1 |
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; } |