mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Merge branch 'doubly-scaled-floating-rings' into 'master'
Fix rings not floating high enough in mobjscaled maps See merge request KartKrew/Kart!378
This commit is contained in:
commit
2dfe9cc9eb
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_YELLOWHORIZ:
|
||||||
case MT_REDHORIZ:
|
case MT_REDHORIZ:
|
||||||
case MT_BLUEHORIZ:
|
case MT_BLUEHORIZ:
|
||||||
offset += mthing->options & MTF_AMBUSH ? 16*mapobjectscale : 0;
|
offset += mthing->options & MTF_AMBUSH ? 16*FRACUNIT : 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// Ring-like items, may float additional units with MTF_AMBUSH.
|
// 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_EMBLEM:
|
||||||
case MT_RING:
|
case MT_RING:
|
||||||
case MT_BLUESPHERE:
|
case MT_BLUESPHERE:
|
||||||
offset += mthing->options & MTF_AMBUSH ? 24*mapobjectscale : 0;
|
offset += mthing->options & MTF_AMBUSH ? 24*FRACUNIT : 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// This object does not have an offset
|
// This object does not have an offset
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue