From 4d47b9b9a36c05744401df58efb76f1bd501a77f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Nov 2014 14:55:38 +0300 Subject: Replace some direct methods usage to interfaces. --- src/map/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 3962e771e..c78919f52 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -2323,7 +2323,7 @@ int unit_remove_map(struct block_list *bl, clr_type clrtype, const char* file, i //Clear target even if there is no timer if (ud->target || ud->attacktimer != INVALID_TIMER) - unit_stop_attack(bl); + unit->stop_attack(bl); //Clear stepaction even if there is no timer if (ud->stepaction || ud->steptimer != INVALID_TIMER) -- cgit v1.2.3-70-g09d2