mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Ballhog active frames 26 -> 15
This commit is contained in:
parent
a191c5d394
commit
945c8d5a9c
2 changed files with 10 additions and 1 deletions
|
|
@ -75,7 +75,8 @@ boolean K_BananaBallhogCollide(mobj_t *t1, mobj_t *t2)
|
|||
if (t1->type == MT_BALLHOGBOOM && t2->type == MT_BALLHOGBOOM)
|
||||
return true; // Ballhogs don't collide with eachother
|
||||
|
||||
if (t1->type == MT_BALLHOGBOOM && t2->type == MT_PLAYER && t1->target == t2 )
|
||||
extern consvar_t cv_debugpickmeup;
|
||||
if (t1->type == MT_BALLHOGBOOM && t2->type == MT_PLAYER && t1->target == t2 && !cv_debugpickmeup.value)
|
||||
return true; // Allied hog explosion, not snatchable but shouldn't damage
|
||||
|
||||
if (K_TryPickMeUp(t1, t2, false))
|
||||
|
|
|
|||
|
|
@ -7557,6 +7557,14 @@ static boolean P_MobjRegularThink(mobj_t *mobj)
|
|||
P_MobjCheckWater(mobj);
|
||||
}
|
||||
break;
|
||||
case MT_BALLHOGBOOM:
|
||||
{
|
||||
if ((mobj->frame & FF_FRAMEMASK) >= 15)
|
||||
{
|
||||
mobj->flags |= MF_NOCLIPTHING;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case MT_SINK:
|
||||
if (mobj->momx || mobj->momy)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue