mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-03-22 19:02:15 +00:00
Merge branch 'sal-misc' of https://git.magicalgirl.moe/KartKrew/Kart.git into itemdrop
This commit is contained in:
commit
8e9580cd7c
1 changed files with 10 additions and 0 deletions
10
src/k_kart.c
10
src/k_kart.c
|
@ -967,6 +967,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