diff options
author | Michieru <Michieru@users.noreply.github.com> | 2014-09-17 23:49:11 +0200 |
---|---|---|
committer | Michieru <Michieru@users.noreply.github.com> | 2014-09-17 23:49:11 +0200 |
commit | 15c8f8d190aae986a5c3c93d482fd9047cdad143 (patch) | |
tree | dc99c27c2f87ba5d1485a16a3b17a2f2efe53e6c /src/map/unit.c | |
parent | ddc52570a9bf694cdba6445bc02350a94856a583 (diff) | |
parent | 964b47351ef2156423f6e0a68bfd3361283936c1 (diff) | |
download | hercules-15c8f8d190aae986a5c3c93d482fd9047cdad143.tar.gz hercules-15c8f8d190aae986a5c3c93d482fd9047cdad143.tar.bz2 hercules-15c8f8d190aae986a5c3c93d482fd9047cdad143.tar.xz hercules-15c8f8d190aae986a5c3c93d482fd9047cdad143.zip |
Merge pull request #357 from csnv/master
Devotion statuses fixed. Cleaned some warnings. Unit range shortened!
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 8b74ff80c..12df6ab1f 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -316,7 +316,7 @@ int unit_walktoxy_timer(int tid, int64 tick, int id, intptr_t data) { unit->attack(bl, tbl->id, ud->state.attack_continue); } } else { //Update chase-path - unit->walktobl(bl, tbl, ud->chaserange, ud->state.walk_easy|(ud->state.attack_continue?2:0)); + unit->walktobl(bl, tbl, ud->chaserange, ud->state.walk_easy|(ud->state.attack_continue? 1 : 0)); return 0; } } else { |