mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-26 13:01:52 +00:00
MT_WALLSPIKE, MT_ITEMCAPSULE: Remove time attack compat-intended hacks
- You now can't phase through a stationary Prison Egg in any gametype, not just Tutorial - You can now scale Item Capsules in any gametype, not just Special
This commit is contained in:
parent
47248f2030
commit
9da5c3afb5
2 changed files with 3 additions and 6 deletions
|
|
@ -978,12 +978,9 @@ static boolean K_JustBumpedException(mobj_t *mobj)
|
|||
{
|
||||
case MT_SA2_CRATE:
|
||||
return Obj_SA2CrateIsMetal(mobj);
|
||||
case MT_WALLSPIKE:
|
||||
return true;
|
||||
case MT_BATTLECAPSULE:
|
||||
{
|
||||
if (gametype == GT_TUTORIAL // Remove gametype check whenever it's safe to break compatibility with ghosts in a post-release patch
|
||||
&& mobj->momx == 0
|
||||
if (mobj->momx == 0
|
||||
&& mobj->momy == 0
|
||||
&& mobj->momz == 0)
|
||||
{
|
||||
|
|
@ -991,6 +988,7 @@ static boolean K_JustBumpedException(mobj_t *mobj)
|
|||
}
|
||||
break;
|
||||
}
|
||||
case MT_WALLSPIKE:
|
||||
case MT_STONESHOE:
|
||||
return true;
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -14090,9 +14090,8 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj)
|
|||
mobj->scalespeed <<= 1;
|
||||
}
|
||||
|
||||
if (gametype == GT_SPECIAL)
|
||||
{
|
||||
// TODO: When we invalidate replays, permit manual size changes everywhere
|
||||
// Now we're invalidating replays, permit manual size changes everywhere
|
||||
mobj->extravalue1 = FixedMul(mthing->scale, mobj->extravalue1);
|
||||
mobj->scalespeed = FixedMul(mthing->scale, mobj->scalespeed);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue