mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Demo compatability for waterskiing
Updated DEMOVERSION
This commit is contained in:
parent
f0df4990ae
commit
c7c8ee3c7a
2 changed files with 4 additions and 3 deletions
|
|
@ -182,9 +182,10 @@ demoghost *ghosts = NULL;
|
||||||
// - 0x000F -- RR 2.4 indev (staff ghosts part 2 - dynslopes thinker fix)
|
// - 0x000F -- RR 2.4 indev (staff ghosts part 2 - dynslopes thinker fix)
|
||||||
// - 0x0010 -- RR 2.4 rc1 (staff ghosts part 3 - skinlimit raise. don't say we never did anythin for 'ya)
|
// - 0x0010 -- RR 2.4 rc1 (staff ghosts part 3 - skinlimit raise. don't say we never did anythin for 'ya)
|
||||||
// - 0x0011 -- RR 2.4 rc2 (K_FlipFromObject oversight)
|
// - 0x0011 -- RR 2.4 rc2 (K_FlipFromObject oversight)
|
||||||
|
// - 0x0012 -- RR 2.4 rc6 (Waterskii regression from 2.3)
|
||||||
|
|
||||||
#define MINDEMOVERSION 0x000E
|
#define MINDEMOVERSION 0x000E
|
||||||
#define DEMOVERSION 0x0011
|
#define DEMOVERSION 0x0012
|
||||||
|
|
||||||
boolean G_CompatLevel(UINT16 level)
|
boolean G_CompatLevel(UINT16 level)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3323,7 +3323,7 @@ boolean K_WaterRun(mobj_t *mobj)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
case MT_PLAYER:
|
case MT_PLAYER: // Waterskii
|
||||||
{
|
{
|
||||||
fixed_t minspeed = 0;
|
fixed_t minspeed = 0;
|
||||||
fixed_t flatspeed = 2 * K_GetKartSpeed(mobj->player, false, false);
|
fixed_t flatspeed = 2 * K_GetKartSpeed(mobj->player, false, false);
|
||||||
|
|
@ -3340,7 +3340,7 @@ boolean K_WaterRun(mobj_t *mobj)
|
||||||
|
|
||||||
minspeed = K_PlayerTripwireSpeedThreshold(mobj->player);
|
minspeed = K_PlayerTripwireSpeedThreshold(mobj->player);
|
||||||
|
|
||||||
if (minspeed >= flatspeed)
|
if (minspeed >= flatspeed && !G_CompatLevel(0x0011))
|
||||||
minspeed = flatspeed;
|
minspeed = flatspeed;
|
||||||
|
|
||||||
if (mobj->player->invincibilitytimer
|
if (mobj->player->invincibilitytimer
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue