From 8b9b8e6dcdc26d612b762f4a04664cb1765665a5 Mon Sep 17 00:00:00 2001 From: johns <> Date: Thu, 6 Apr 2000 00:30:19 +0000 Subject: [PATCH] UnitShowAnimation parameter animation got const attribute --- include/actions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/actions.h b/include/actions.h index fec8f21a5..de1e8acdc 100644 --- a/include/actions.h +++ b/include/actions.h @@ -138,7 +138,7 @@ extern void HandleActionDemolish(Unit* unit); ----------------------------------------------------------------------------*/ /// handle the animation of a unit -extern int UnitShowAnimation(Unit* unit,Animation* animation); +extern int UnitShowAnimation(Unit* unit,const Animation* animation); /// Handle the actions of all units each frame extern void UnitActions(void);