mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 10:52:23 +00:00
Enable SF_TRIGGERSPECIAL_TOUCH for sectors with spike damage
This commit is contained in:
parent
54cbd66999
commit
c031008eab
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…
Reference in a new issue