From 3d34c37c8affc7ca5711245dadaaf3f3cecbba41 Mon Sep 17 00:00:00 2001 From: skyleo Date: Tue, 10 Sep 2019 22:44:37 +0200 Subject: Change returning error-code in unit->delay_walktoxy_timer to obey code-style guidelines --- src/map/unit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index d37998e9a..75bed7eca 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -498,11 +498,11 @@ static int unit_delay_walktoxy_timer(int tid, int64 tick, int id, intptr_t data) { struct block_list *bl = map->id2bl(id); if (bl == NULL || bl->prev == NULL) - return 0; + return 1; short x = (short) ((data >> 16) & 0xffff); short y = (short) (data & 0xffff); unit->walktoxy(bl, x, y, 0); - return 1; + return 0; } //flag parameter: -- cgit v1.2.3-70-g09d2