Original timings

This commit is contained in:
Sally Coolatta 2021-04-20 13:04:39 -04:00
parent 905eb41778
commit 5827c0c0b2

View file

@ -7321,6 +7321,7 @@ INT32 K_GetKartDriftSparkValueForStage(player_t *player, UINT8 stage)
{ {
fixed_t mul = FRACUNIT; fixed_t mul = FRACUNIT;
// This code is function is pretty much useless now that the timing changes are linear but bleh.
switch (stage) switch (stage)
{ {
case 2: case 2:
@ -7330,7 +7331,7 @@ INT32 K_GetKartDriftSparkValueForStage(player_t *player, UINT8 stage)
mul = 3*FRACUNIT; // x3 mul = 3*FRACUNIT; // x3
break; break;
case 4: case 4:
mul = (19*FRACUNIT)/4; // x4.75 mul = 4*FRACUNIT; // x4
break; break;
} }
@ -7452,8 +7453,8 @@ static void K_KartDrift(player_t *player, boolean onground)
if (!onground) if (!onground)
P_Thrust(player->mo, pushdir, ( 5 * player->speed ) / 12); P_Thrust(player->mo, pushdir, ( 5 * player->speed ) / 12);
if (player->driftboost < 90) if (player->driftboost < 85)
player->driftboost = 90; player->driftboost = 85;
K_SpawnDriftBoostExplosion(player, 3); K_SpawnDriftBoostExplosion(player, 3);
K_SpawnDriftElectricSparks(player); K_SpawnDriftElectricSparks(player);
@ -7464,8 +7465,8 @@ static void K_KartDrift(player_t *player, boolean onground)
if (!onground) if (!onground)
P_Thrust(player->mo, pushdir, player->speed / 2); P_Thrust(player->mo, pushdir, player->speed / 2);
if (player->driftboost < 160) if (player->driftboost < 125)
player->driftboost = 160; player->driftboost = 125;
K_SpawnDriftBoostExplosion(player, 4); K_SpawnDriftBoostExplosion(player, 4);
K_SpawnDriftElectricSparks(player); K_SpawnDriftElectricSparks(player);