Browse Source

[hellfire] RndLocOk bin exact

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

4
Source/objects.cpp

@ -122,7 +122,11 @@ void FreeObjectGFX()
numobjfiles = 0;
}
#ifdef HELLFIRE
BOOLEAN RndLocOk(int xp, int yp)
#else
BOOL RndLocOk(int xp, int yp)
#endif
{
if (dMonster[xp][yp])
return FALSE;

4
Source/objects.h

@ -16,7 +16,11 @@ extern int numobjfiles;
void InitObjectGFX();
void FreeObjectGFX();
#ifdef HELLFIRE
BOOLEAN RndLocOk(int xp, int yp);
#else
BOOL RndLocOk(int xp, int yp);
#endif
void InitRndLocObj(int min, int max, int objtype);
void InitRndLocBigObj(int min, int max, int objtype);
void InitRndLocObj5x5(int min, int max, int objtype);

Loading…
Cancel
Save