mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-25 05:21:28 +00:00
- Duke: fixed bad surface check.
Surfaces are not bit flags, they are values.
This commit is contained in:
parent
deaec2d91d
commit
ff33dd7188
1 changed files with 1 additions and 1 deletions
|
@ -1003,7 +1003,7 @@ void purplelavacheck(player_struct* p)
|
|||
{
|
||||
auto sect = pact->sector();
|
||||
// one texflag for a single texture again, just to avoid one hard coded check...
|
||||
if ((tilesurface(sect->floortexture) & TSURF_PURPLELAVA) || (tilesurface(sect->ceilingtexture) & TSURF_PURPLELAVA))
|
||||
if ((tilesurface(sect->floortexture) == TSURF_PURPLELAVA) || (tilesurface(sect->ceilingtexture) == TSURF_PURPLELAVA))
|
||||
{
|
||||
if (p->boot_amount > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue