Browse Source

[hellfire] WallTrapLocOk bin exact

pull/876/head
qndel 6 years ago committed by Anders Jenbo
parent
commit
7df3c32c12
  1. 2
      Source/objects.cpp
  2. 2
      Source/objects.h

2
Source/objects.cpp

@ -426,7 +426,7 @@ void AddL3Objs(int x1, int y1, int x2, int y2)
}
}
BOOL WallTrapLocOk(int xp, int yp)
DIABOOL WallTrapLocOk(int xp, int yp)
{
if (dFlags[xp][yp] & BFLAG_POPULATED)
return FALSE;

2
Source/objects.h

@ -28,7 +28,7 @@ void InitRndBarrels();
void AddL1Objs(int x1, int y1, int x2, int y2);
void AddL2Objs(int x1, int y1, int x2, int y2);
void AddL3Objs(int x1, int y1, int x2, int y2);
BOOL WallTrapLocOk(int xp, int yp);
DIABOOL WallTrapLocOk(int xp, int yp);
void AddL2Torches();
DIABOOL TorchLocOK(int xp, int yp);
void AddObjTraps();

Loading…
Cancel
Save