- made AnimSet's vel parameter an actual double.

This does not affect any outcome, it just avoids pointless type conversions.
This commit is contained in:
Christoph Oelckers 2022-10-12 15:11:07 +02:00
parent 4ac3820511
commit f4c8ac0140
2 changed files with 3 additions and 3 deletions

View file

@ -1609,8 +1609,8 @@ void RefreshInfoLine(PLAYER* pp);
void DoAnim(int numtics);
void AnimDelete(int animtype, int animindex, DSWActor*);
short AnimGetGoal(int animtype, int animindex, DSWActor*);
int AnimSet(int animtype, int animindex, DSWActor* animactor, double thegoal, int thevel);
int AnimSet(int animtype, sectortype* animindex, double thegoal, int thevel)
int AnimSet(int animtype, int animindex, DSWActor* animactor, double thegoal, double thevel);
int AnimSet(int animtype, sectortype* animindex, double thegoal, double thevel)
{
return AnimSet(animtype, sectnum(animindex), nullptr, thegoal, thevel);
}

View file

@ -2776,7 +2776,7 @@ void AnimDelete(int animtype, int animindex, DSWActor* animactor)
//
//---------------------------------------------------------------------------
int AnimSet(int animtype, int animindex, DSWActor* animactor, double thegoal, int thevel)
int AnimSet(int animtype, int animindex, DSWActor* animactor, double thegoal, double thevel)
{
int i, j;