From 915b50bb25b22479ce7fbbc55b4a6663ed251a1d Mon Sep 17 00:00:00 2001 From: gez Date: Sat, 1 Jun 2013 13:42:05 +0000 Subject: [PATCH] * Updated to ZDoom r4310: - Fixed signed-ness issue with FloatBobPhase. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1586 b0f79afe-0144-0410-b225-9a4edf0717df --- src/p_mobj.cpp | 2 +- src/svnrevision.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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