UnitShowAnimation animation must be const

This commit is contained in:
johns 2000-04-05 23:25:37 +00:00
parent 213cddce0b
commit 56203ffe40

View file

@ -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.
//