by Graf Zahl » Sun Mar 06, 2005 7:23 am
Admittedly, this is not very important, but today I was playing an old Doom WAD and I wanted to play it with Strife's delayed damage sector types. But those types (and most other Hexen/Strife types) are not available in Doom. So after some thinking I came up with adding
Code: Select all
if (special&0x8000) return special&0x7fff;
at the beginning of P_TranslateSectorSpecial to allow passing the sector type unchanged if the highest bit is set.
Question: Is this a good idea or not?
Admittedly, this is not very important, but today I was playing an old Doom WAD and I wanted to play it with Strife's delayed damage sector types. But those types (and most other Hexen/Strife types) are not available in Doom. So after some thinking I came up with adding
[code]
if (special&0x8000) return special&0x7fff;
[/code]
at the beginning of P_TranslateSectorSpecial to allow passing the sector type unchanged if the highest bit is set.
Question: Is this a good idea or not?