mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-03-22 19:02:15 +00:00
Restore the one good bit
This commit is contained in:
parent
34d27b06e0
commit
be3ed17e19
1 changed files with 10 additions and 0 deletions
10
src/k_kart.c
10
src/k_kart.c
|
@ -966,6 +966,16 @@ static fixed_t K_GetMobjWeight(mobj_t *mobj, mobj_t *against)
|
|||
else
|
||||
weight = (mobj->player->kartweight)<<FRACBITS;
|
||||
break;
|
||||
case MT_FALLINGROCK:
|
||||
if (against->player)
|
||||
{
|
||||
if (against->player->kartstuff[k_invincibilitytimer]
|
||||
|| against->player->kartstuff[k_growshrinktimer] > 0)
|
||||
weight = 0;
|
||||
else
|
||||
weight = (against->player->kartweight)<<FRACBITS;
|
||||
}
|
||||
break;
|
||||
case MT_ORBINAUT:
|
||||
case MT_ORBINAUT_SHIELD:
|
||||
if (against->player)
|
||||
|
|
Loading…
Reference in a new issue