From 56203ffe4083ab0c0ed7a7a0fa1f14c16bb343cc Mon Sep 17 00:00:00 2001 From: johns <> Date: Wed, 5 Apr 2000 23:25:37 +0000 Subject: [PATCH] UnitShowAnimation animation must be const --- src/action/actions.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/action/actions.cpp b/src/action/actions.cpp index 83232af3c..76f9e4b49 100644 --- a/src/action/actions.cpp +++ b/src/action/actions.cpp @@ -38,7 +38,7 @@ ** Show unit animation. ** Returns animation flags. */ -global int UnitShowAnimation(Unit* unit,Animation* animation) +global int UnitShowAnimation(Unit* unit,const Animation* animation) { int state; int flags; @@ -125,6 +125,8 @@ local void HandleUnitAction(Unit* unit) } } + // FIXME: fire handling should be moved to here. + // // Select action. //