diff options
author | Haru <haru@dotalux.com> | 2016-03-03 17:29:37 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-03-03 17:29:37 +0100 |
commit | ee60ae383259adedf6436fd2c6f72d4e5bddd909 (patch) | |
tree | 89dff1328642c957d17f460643a266f5aedd92dd | |
parent | 112d2d91c4a22f44192872ddca8f47f5ca9a5e62 (diff) | |
parent | 256f7e510fd59715d90d6ef34ba829e5c2cf0d4a (diff) | |
download | hercules-ee60ae383259adedf6436fd2c6f72d4e5bddd909.tar.gz hercules-ee60ae383259adedf6436fd2c6f72d4e5bddd909.tar.bz2 hercules-ee60ae383259adedf6436fd2c6f72d4e5bddd909.tar.xz hercules-ee60ae383259adedf6436fd2c6f72d4e5bddd909.zip |
Merge pull request #1178 from 4144/catchpet
Add missing initialisation in sd.
-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; } |