mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Enable SF_TRIGGERSPECIAL_TOUCH for sectors with spike damage
This commit is contained in:
parent
0d21e4ad87
commit
548f4a1594
1 changed files with 6 additions and 0 deletions
|
|
@ -6363,6 +6363,12 @@ void P_SpawnSpecials(boolean fromnetsave)
|
|||
// Process Section 1
|
||||
switch(GETSECSPECIAL(sector->special, 1))
|
||||
{
|
||||
case 5: // Spikes
|
||||
//Terrible hack to replace an even worse hack:
|
||||
//Spike damage automatically sets SF_TRIGGERSPECIAL_TOUCH.
|
||||
//Yes, this also affects other specials on the same sector. Sorry.
|
||||
sector->flags |= SF_TRIGGERSPECIAL_TOUCH;
|
||||
break;
|
||||
case 15: // Bouncy sector
|
||||
CheckForBouncySector = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue