diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-16 14:55:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-02 14:23:49 +0300 |
commit | 4d47b9b9a36c05744401df58efb76f1bd501a77f (patch) | |
tree | 8677feb1604610ae9b0497660fd9afb41255432c /src/map/unit.c | |
parent | 83a452a8fc11e611347b9103ab11f51789a60ebf (diff) | |
download | hercules-4d47b9b9a36c05744401df58efb76f1bd501a77f.tar.gz hercules-4d47b9b9a36c05744401df58efb76f1bd501a77f.tar.bz2 hercules-4d47b9b9a36c05744401df58efb76f1bd501a77f.tar.xz hercules-4d47b9b9a36c05744401df58efb76f1bd501a77f.zip |
Replace some direct methods usage to interfaces.
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 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) |