diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index 083ba23f..aff99090 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -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); } - 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) { actor->AdjustFloorClip (); diff --git a/src/svnrevision.h b/src/svnrevision.h index cebbfc78..22b46895 100644 --- a/src/svnrevision.h +++ b/src/svnrevision.h @@ -3,5 +3,5 @@ // This file was automatically generated by the // updaterevision tool. Do not edit by hand. -#define ZD_SVN_REVISION_STRING "4307" -#define ZD_SVN_REVISION_NUMBER 4307 +#define ZD_SVN_REVISION_STRING "4310" +#define ZD_SVN_REVISION_NUMBER 4310