mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-24 21:38:39 -04:00
declare either P_CreateBlockMap() or P_CreateBlockMapBoom() as static
This commit is contained in:
parent
01fbd14efc
commit
6c8bdb2c5e
@ -608,7 +608,10 @@ static void AddBlockLine
|
||||
done[blockno] = 1;
|
||||
}
|
||||
|
||||
static void P_CreateBlockMapBoom(void)
|
||||
#ifndef MBF_STRICT
|
||||
static
|
||||
#endif
|
||||
void P_CreateBlockMapBoom(void)
|
||||
{
|
||||
int xorg,yorg; // blockmap origin (lower left)
|
||||
int nrows,ncols; // blockmap dimensions
|
||||
@ -881,7 +884,10 @@ static void P_CreateBlockMapBoom(void)
|
||||
// Please note: This section of code is not interchangable with TeamTNT's
|
||||
// code which attempts to fix the same problem.
|
||||
|
||||
static void P_CreateBlockMap(void)
|
||||
#ifdef MBF_STRICT
|
||||
static
|
||||
#endif
|
||||
void P_CreateBlockMap(void)
|
||||
{
|
||||
register int i;
|
||||
fixed_t minx = INT_MAX, miny = INT_MAX, maxx = INT_MIN, maxy = INT_MIN;
|
||||
|
Loading…
x
Reference in New Issue
Block a user