mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- handle the only two occurences of add_int_ang in Blood.
This commit is contained in:
parent
72dc3d5da9
commit
f7fdbcaa59
1 changed files with 2 additions and 2 deletions
|
@ -3459,8 +3459,8 @@ void useSectorWindGen(DBloodActor* sourceactor, sectortype* pSector)
|
|||
sourceactor->set_int_ang(nnExtRandom(-kAng360, kAng360) & 2047);
|
||||
}
|
||||
}
|
||||
else if (sourceactor->spr.cstat & CSTAT_SPRITE_MOVE_FORWARD) sourceactor->add_int_ang(sourceactor->xspr.data4);
|
||||
else if (sourceactor->spr.cstat & CSTAT_SPRITE_MOVE_REVERSE) sourceactor->add_int_ang(-sourceactor->xspr.data4);
|
||||
else if (sourceactor->spr.cstat & CSTAT_SPRITE_MOVE_FORWARD) sourceactor->spr.angle += mapangle(sourceactor->xspr.data4);
|
||||
else if (sourceactor->spr.cstat & CSTAT_SPRITE_MOVE_REVERSE) sourceactor->spr.angle -= mapangle(sourceactor->xspr.data4);
|
||||
else if (sourceactor->xspr.sysData1 == 0)
|
||||
{
|
||||
if ((ang += sourceactor->xspr.data4) >= kAng180) sourceactor->xspr.sysData1 = 1;
|
||||
|
|
Loading…
Reference in a new issue