- extended animatetarget to 32 bit.

This commit is contained in:
Christoph Oelckers 2021-11-07 09:47:57 +01:00
parent f95af3368b
commit 977d668bef
4 changed files with 4 additions and 4 deletions

View file

@ -153,7 +153,7 @@ void hud_input(int playerNum);
int getanimationgoal(int animtype, int animindex);
bool isanearoperator(int lotag);
bool isanunderoperator(int lotag);
int setanimation(short animsect, int animtype, int animindex, int thegoal, int thevel);
int setanimation(int animsect, int animtype, int animindex, int thegoal, int thevel);
void dofurniture(int wallNum, int sectnum, int playerNum);
void dotorch();
int hitawall(struct player_struct* pl, int* hitWall);

View file

@ -101,7 +101,7 @@ int numanimwalls;
int animatecnt; // sector plane movement
int animatesect[MAXANIMATES];
int8_t animatetype[MAXANIMATES];
int16_t animatetarget[MAXANIMATES];
int animatetarget[MAXANIMATES];
int animategoal[MAXANIMATES];
int animatevel[MAXANIMATES];
int numclouds; // cloudy skies

View file

@ -85,7 +85,7 @@ enum animtype_t
anim_vertexy,
};
extern int animatesect[MAXANIMATES];
extern int16_t animatetarget[MAXANIMATES];
extern int animatetarget[MAXANIMATES];
extern int8_t animatetype[MAXANIMATES];
extern int animategoal[MAXANIMATES];
extern int animatevel[MAXANIMATES];

View file

@ -393,7 +393,7 @@ int getanimationgoal(int animtype, int animtarget)
//
//---------------------------------------------------------------------------
int setanimation(short animsect, int animtype, int animtarget, int thegoal, int thevel)
int setanimation(int animsect, int animtype, int animtarget, int thegoal, int thevel)
{
int i, j;