mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- avoid using change.X as a marker value
This commit is contained in:
parent
6334b7d3b8
commit
fbfec1f037
1 changed files with 2 additions and 2 deletions
|
@ -1224,7 +1224,7 @@ void PreDrawStackedWater(void)
|
|||
continue;
|
||||
|
||||
// code so that a copied sprite will not make another copy
|
||||
if (itActor2->user.change.X == -989898)
|
||||
if (itActor2->spr.intangle == 0x4711)
|
||||
continue;
|
||||
|
||||
auto actorNew = ConnectCopySprite(&itActor2->spr);
|
||||
|
@ -1233,7 +1233,7 @@ void PreDrawStackedWater(void)
|
|||
// spawn a user
|
||||
actorNew->allocUser();
|
||||
|
||||
actorNew->user.change.X = -989898;
|
||||
actorNew->spr.intangle = 0x4711;
|
||||
|
||||
// copy everything reasonable from the user that
|
||||
// analyzesprites() needs to draw the image
|
||||
|
|
Loading…
Reference in a new issue