Fix item usage during respawn and buff flame shield slightly
This commit is contained in:
parent
5b4d571310
commit
d56a5188d1
2 changed files with 5 additions and 5 deletions
|
|
@ -471,7 +471,7 @@ consvar_t cv_kartstacking_grow_speedboost = CVAR_INIT ("vanillaboost_grow_speedb
|
|||
consvar_t cv_kartstacking_grow_accelboost = CVAR_INIT ("vanillaboost_grow_accelboost", "0", CV_NETVAR|CV_CHEAT|CV_FLOAT, CV_Unsigned, NULL);
|
||||
consvar_t cv_kartstacking_grow_stackable = CVAR_INIT ("vanillaboost_grow_stackable", "Off", CV_NETVAR, CV_OnOff, NULL);
|
||||
|
||||
consvar_t cv_kartstacking_flame_speedval = CVAR_INIT ("vanillaboost_flame_speedval", "0.80", CV_NETVAR|CV_CHEAT|CV_FLOAT, CV_Unsigned, NULL);
|
||||
consvar_t cv_kartstacking_flame_speedval = CVAR_INIT ("vanillaboost_flame_speedval", "0.85", CV_NETVAR|CV_CHEAT|CV_FLOAT, CV_Unsigned, NULL);
|
||||
consvar_t cv_kartstacking_flame_accelboost = CVAR_INIT ("vanillaboost_flame_accelboost", "3.0", CV_NETVAR|CV_CHEAT|CV_FLOAT, CV_Unsigned, NULL);
|
||||
consvar_t cv_kartstacking_flame_stackable = CVAR_INIT ("vanillaboost_flame_stackable", "Off", CV_NETVAR, CV_OnOff, NULL);
|
||||
|
||||
|
|
|
|||
|
|
@ -9805,7 +9805,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
player->itemflags &= ~IF_USERINGS;
|
||||
}
|
||||
|
||||
if (player && player->mo && player->mo->health > 0 && !player->spectator && !P_PlayerInPain(player) && !(player->exiting || mapreset) && leveltime > introtime)
|
||||
if (player && player->mo && player->mo->health > 0 && !player->spectator && !P_PlayerInPain(player) && player->respawn == 0 && !(player->exiting || mapreset) && leveltime > introtime)
|
||||
{
|
||||
// First, the really specific, finicky items that function without the item being directly in your item slot.
|
||||
{
|
||||
|
|
@ -9939,11 +9939,11 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
K_DropHnextList(player, false);
|
||||
}
|
||||
|
||||
/*if (!onground && (leveltime % 8))
|
||||
/*if (!onground)
|
||||
{
|
||||
P_Thrust(
|
||||
player->mo, K_MomentumAngle(player->mo),
|
||||
mapobjectscale
|
||||
player->mo, player->mo->angle,
|
||||
FixedMul(player->mo->scale, K_GetKartGameSpeedScalar(gamespeed))/4
|
||||
);
|
||||
}*/
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue