UnitShowAnimation animation must be const
This commit is contained in:
parent
213cddce0b
commit
56203ffe40
1 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue