diff --git a/source/games/duke/src/funct.h b/source/games/duke/src/funct.h index 7a3d82c9e..91aec8c43 100644 --- a/source/games/duke/src/funct.h +++ b/source/games/duke/src/funct.h @@ -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); diff --git a/source/games/duke/src/global.cpp b/source/games/duke/src/global.cpp index 42ac0aa81..b2300cd64 100644 --- a/source/games/duke/src/global.cpp +++ b/source/games/duke/src/global.cpp @@ -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 diff --git a/source/games/duke/src/global.h b/source/games/duke/src/global.h index 305920c80..a146d30da 100644 --- a/source/games/duke/src/global.h +++ b/source/games/duke/src/global.h @@ -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]; diff --git a/source/games/duke/src/sectors.cpp b/source/games/duke/src/sectors.cpp index c51f332b7..afc493fe4 100644 --- a/source/games/duke/src/sectors.cpp +++ b/source/games/duke/src/sectors.cpp @@ -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;