mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
- 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:
parent
8bad95c7c6
commit
509124c1dd
36 changed files with 1514 additions and 1512 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue