From d4a40467c5fb99b34b235a7fa8cde423fbdf24c0 Mon Sep 17 00:00:00 2001 From: skyleo Date: Thu, 3 Oct 2019 18:39:58 +0200 Subject: Add documentation for unit->walktoxy_sub --- src/map/unit.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/map/unit.c b/src/map/unit.c index f0125ec79..db4fc47e7 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -116,6 +116,11 @@ static struct unit_data *unit_bl2ud2(struct block_list *bl) return unit->bl2ud(bl); } +/** + * TODO: understand purpose of this function + * @param bl block_list to process + * @return 0: success, 1: fail, 2: nullpointer + */ static int unit_walktoxy_sub(struct block_list *bl) { int i; -- cgit v1.2.3-60-g2f50