mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Float flag for rings and horizontal springs no longer scales twice in mobjscaled maps
This commit is contained in:
parent
f6130b5403
commit
f7fd39402a
1 changed files with 2 additions and 2 deletions
|
|
@ -10724,7 +10724,7 @@ fixed_t P_GetMapThingSpawnHeight(const mobjtype_t mobjtype, const mapthing_t* mt
|
|||
case MT_YELLOWHORIZ:
|
||||
case MT_REDHORIZ:
|
||||
case MT_BLUEHORIZ:
|
||||
offset += mthing->options & MTF_AMBUSH ? 16*mapobjectscale : 0;
|
||||
offset += mthing->options & MTF_AMBUSH ? 16*FRACUNIT : 0;
|
||||
break;
|
||||
|
||||
// Ring-like items, may float additional units with MTF_AMBUSH.
|
||||
|
|
@ -10732,7 +10732,7 @@ fixed_t P_GetMapThingSpawnHeight(const mobjtype_t mobjtype, const mapthing_t* mt
|
|||
case MT_EMBLEM:
|
||||
case MT_RING:
|
||||
case MT_BLUESPHERE:
|
||||
offset += mthing->options & MTF_AMBUSH ? 24*mapobjectscale : 0;
|
||||
offset += mthing->options & MTF_AMBUSH ? 24*FRACUNIT : 0;
|
||||
break;
|
||||
|
||||
// This object does not have an offset
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue