diff options
author | csnv <ctt@csnv.es> | 2014-09-17 22:56:30 +0200 |
---|---|---|
committer | csnv <ctt@csnv.es> | 2014-09-17 22:56:30 +0200 |
commit | 964b47351ef2156423f6e0a68bfd3361283936c1 (patch) | |
tree | dc99c27c2f87ba5d1485a16a3b17a2f2efe53e6c /src/map/unit.c | |
parent | ddc52570a9bf694cdba6445bc02350a94856a583 (diff) | |
download | hercules-964b47351ef2156423f6e0a68bfd3361283936c1.tar.gz hercules-964b47351ef2156423f6e0a68bfd3361283936c1.tar.bz2 hercules-964b47351ef2156423f6e0a68bfd3361283936c1.tar.xz hercules-964b47351ef2156423f6e0a68bfd3361283936c1.zip |
Devotion statuses fixed. Cleaned some warnings. Unit range shortened!
- Now SC_AUTOGUARD and SC_REFLECTSHIELD won't have effect if the devotion range is too big. Bug report http://hercules.ws/board/tracker/issue-8345-about-devotion-status-tra/
- Cleaned some warnings
- Due to the exploit of some client edits and with the feedback of some users, I can say it's safe to change back the range extra cell to 1. Thanks Juvia, KeyWorld.
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 { |