mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 11:10:39 +00:00
Replace all "g_scriptVersion == 14" with "g_scriptVersion >= 14".
git-svn-id: https://svn.eduke32.com/eduke32@5892 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9ce6cd2009
commit
259d51bec0
2 changed files with 4 additions and 4 deletions
|
@ -47,7 +47,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
#define HEAD2 APPNAME
|
||||
|
||||
#define VOLUMEALL (g_Shareware == 0)
|
||||
#define PLUTOPAK (g_scriptVersion == 14)
|
||||
#define PLUTOPAK (g_scriptVersion >= 14)
|
||||
#define VOLUMEONE (g_Shareware == 1)
|
||||
|
||||
// increase by 3, because atomic GRP adds 1, and Shareware adds 2
|
||||
|
|
|
@ -2301,7 +2301,7 @@ void G_DoGameStartup(const int32_t *params)
|
|||
if (g_scriptVersion >= 11)
|
||||
g_playerFriction = params[j++];
|
||||
|
||||
if (g_scriptVersion == 14)
|
||||
if (g_scriptVersion >= 14)
|
||||
g_spriteGravity = params[j++];
|
||||
|
||||
if (g_scriptVersion >= 11)
|
||||
|
@ -2328,14 +2328,14 @@ void G_DoGameStartup(const int32_t *params)
|
|||
{
|
||||
g_player[0].ps->max_ammo_amount[FREEZE_WEAPON] = params[j++];
|
||||
|
||||
if (g_scriptVersion == 14)
|
||||
if (g_scriptVersion >= 14)
|
||||
g_player[0].ps->max_ammo_amount[GROW_WEAPON] = params[j++];
|
||||
|
||||
g_damageCameras = params[j++];
|
||||
g_numFreezeBounces = params[j++];
|
||||
g_freezerSelfDamage = params[j++];
|
||||
|
||||
if (g_scriptVersion == 14)
|
||||
if (g_scriptVersion >= 14)
|
||||
{
|
||||
g_deleteQueueSize = clamp(params[j++], 0, 1024);
|
||||
g_tripbombLaserMode = params[j++];
|
||||
|
|
Loading…
Reference in a new issue