summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-22 13:48:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-22 13:48:45 +0300
commit7dfeba7f6f050e3f624291a97c7a82de57c54980 (patch)
tree71182b7232a5b4eb47f1c13ba3edba018b7f4bae /src/map/unit.c
parentec431e54185f525e7006cae9f7e1a6fe9ced39b5 (diff)
downloadevol-hercules-7dfeba7f6f050e3f624291a97c7a82de57c54980.tar.gz
evol-hercules-7dfeba7f6f050e3f624291a97c7a82de57c54980.tar.bz2
evol-hercules-7dfeba7f6f050e3f624291a97c7a82de57c54980.tar.xz
evol-hercules-7dfeba7f6f050e3f624291a97c7a82de57c54980.zip
fix compilation warning.
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 0c6445b..01dedc2 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -155,4 +155,5 @@ int eunit_walktoxy(struct block_list *bl __attribute__ ((unused)),
// this reduce CPU usage and allow mobs to walk on each other.
if ((*flagPtr)&8)
*flagPtr = ((*flagPtr) | 8) ^ 8;
+ return 1;
}