- redid SW action interface to use a separate wrapper class from USER.

Turned out that not all sprites in the world have a USER, so we need something different to wrap the game's sprite data.
This commit is contained in:
Christoph Oelckers 2021-10-29 20:49:57 +02:00
parent 8bad95c7c6
commit 509124c1dd
36 changed files with 1514 additions and 1512 deletions

View file

@ -433,8 +433,9 @@ int DoRotatorMove(short SpriteNum)
return 0;
}
int DoRotator(USER* u)
int DoRotator(DSWActor* actor)
{
USER* u = actor->u();
int SpriteNum = u->SpriteNum;
// could move this inside sprite control