mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-30 15:52:09 +00:00
- fixed signed-ness issue with FloatBobPhase.
SVN r4310 (trunk)
This commit is contained in:
parent
26d2d74024
commit
d40d7f2e77
1 changed files with 1 additions and 1 deletions
|
@ -3878,7 +3878,7 @@ AActor *AActor::StaticSpawn (const PClass *type, fixed_t ix, fixed_t iy, fixed_t
|
||||||
actor->SpawnPoint[2] = (actor->z - actor->floorz);
|
actor->SpawnPoint[2] = (actor->z - actor->floorz);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (actor->FloatBobPhase < 0) actor->FloatBobPhase = rng(); // Don't make everything bob in sync (unless deliberately told to do)
|
if (actor->FloatBobPhase == (BYTE)-1) actor->FloatBobPhase = rng(); // Don't make everything bob in sync (unless deliberately told to do)
|
||||||
if (actor->flags2 & MF2_FLOORCLIP)
|
if (actor->flags2 & MF2_FLOORCLIP)
|
||||||
{
|
{
|
||||||
actor->AdjustFloorClip ();
|
actor->AdjustFloorClip ();
|
||||||
|
|
Loading…
Reference in a new issue