mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
R_ThingVisible: Add missing entries/cleanup for sanity
- MT_EXPLODE is spawned by MT_RANDOMITEM on certain types of pop-in - MT_DUELBOMB and MT_MINERADIUS are both Duel hazard visuals that were missing - MT_FOLLOWER is added to match MT_PLAYER - Add comments to make clear why/how we're dividing this stuff
This commit is contained in:
parent
a4ef43442f
commit
f35d207c7f
1 changed files with 12 additions and 2 deletions
|
|
@ -3785,21 +3785,31 @@ boolean R_ThingVisible (mobj_t *thing)
|
||||||
{
|
{
|
||||||
switch (thing->type)
|
switch (thing->type)
|
||||||
{
|
{
|
||||||
|
// Players
|
||||||
|
case MT_PLAYER:
|
||||||
|
case MT_FOLLOWER:
|
||||||
|
// Individual pickups
|
||||||
case MT_RING:
|
case MT_RING:
|
||||||
case MT_FLINGRING:
|
case MT_FLINGRING:
|
||||||
case MT_BLUESPHERE:
|
case MT_BLUESPHERE:
|
||||||
|
case MT_SPRAYCAN:
|
||||||
|
// Item Boxes and Capsules
|
||||||
|
case MT_EXPLODE:
|
||||||
case MT_RANDOMITEM:
|
case MT_RANDOMITEM:
|
||||||
case MT_SPHEREBOX:
|
case MT_SPHEREBOX:
|
||||||
case MT_ITEMCAPSULE:
|
case MT_ITEMCAPSULE:
|
||||||
case MT_ITEMCAPSULE_PART:
|
case MT_ITEMCAPSULE_PART:
|
||||||
case MT_OVERLAY: // mostly capsule numbers :)))
|
case MT_OVERLAY: // mostly capsule numbers :)))
|
||||||
|
// Prison Eggs
|
||||||
case MT_BATTLECAPSULE:
|
case MT_BATTLECAPSULE:
|
||||||
case MT_BATTLECAPSULE_PIECE:
|
case MT_BATTLECAPSULE_PIECE:
|
||||||
case MT_SPRAYCAN:
|
// Duel hazards
|
||||||
case MT_PLAYER:
|
case MT_DUELBOMB:
|
||||||
case MT_LANDMINE:
|
case MT_LANDMINE:
|
||||||
case MT_SSMINE:
|
case MT_SSMINE:
|
||||||
case MT_SSMINE_SHIELD:
|
case MT_SSMINE_SHIELD:
|
||||||
|
case MT_MINERADIUS:
|
||||||
|
// Checkpoints
|
||||||
case MT_CHECKPOINT_END:
|
case MT_CHECKPOINT_END:
|
||||||
case MT_SIGNSPARKLE:
|
case MT_SIGNSPARKLE:
|
||||||
case MT_THOK: // checkpoint parts
|
case MT_THOK: // checkpoint parts
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue