mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
ghost compat
This commit is contained in:
parent
46839fe669
commit
2832b6fb38
2 changed files with 13 additions and 5 deletions
|
|
@ -180,9 +180,10 @@ demoghost *ghosts = NULL;
|
|||
// - 0x000E (Ring Racers 2.4 staff ghosts part 1 - initial recordings)
|
||||
// - 0x000F (Ring Racers 2.4 staff ghosts part 2 - dynslopes thinker fix)
|
||||
// - 0x0010 (Ring Racers 2.4 staff ghosts part 3 - skinlimit raise. don't say we never did anythin for 'ya)
|
||||
// - 0x0011 (Ring Racers 2.4 staff ghosts part 4 - acid dropdash)
|
||||
|
||||
#define MINDEMOVERSION 0x000E
|
||||
#define DEMOVERSION 0x0010
|
||||
#define DEMOVERSION 0x0011
|
||||
|
||||
boolean G_CompatLevel(UINT16 level)
|
||||
{
|
||||
|
|
|
|||
15
src/k_kart.c
15
src/k_kart.c
|
|
@ -10012,11 +10012,18 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
if (onground && player->transfer)
|
||||
{
|
||||
|
||||
if (player->fastfall) // If you elected to supertransfer, you get a small dropdash boost on land
|
||||
if (G_CompatLevel(0x0010))
|
||||
{
|
||||
S_StartSound(player->mo, sfx_s23c);
|
||||
player->aciddropdashboost = max(player->aciddropdashboost, 35);
|
||||
K_SpawnDashDustRelease(player);
|
||||
// Ghosts prior to 2.4 RC2 don't get this
|
||||
}
|
||||
else
|
||||
{
|
||||
if (player->fastfall) // If you elected to acid drop, you get a small dropdash boost on landing
|
||||
{
|
||||
S_StartSound(player->mo, sfx_s23c);
|
||||
player->aciddropdashboost = max(player->aciddropdashboost, 35);
|
||||
K_SpawnDashDustRelease(player);
|
||||
}
|
||||
}
|
||||
player->fastfall = 0;
|
||||
player->transfer = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue