- SW: changed Animator interface to use USERp parameters.

This commit is contained in:
Christoph Oelckers 2021-10-08 10:03:14 +02:00
parent bb3a141c42
commit e241e7dc52
36 changed files with 1089 additions and 1301 deletions

View file

@ -433,10 +433,9 @@ int DoRotatorMove(short SpriteNum)
return 0;
}
int DoRotator(short SpriteNum)
int DoRotator(USER* u)
{
USERp u = User[SpriteNum].Data();
SPRITEp sp = u->SpriteP;
int SpriteNum = u->SpriteNum;
// could move this inside sprite control
DoRotatorMove(SpriteNum);