(deity_build_land) [!START_UNITS]: Unused, don't define.
This commit is contained in:
parent
d0cf6a0a9b
commit
7d12f4b841
1 changed files with 4 additions and 0 deletions
|
@ -49,7 +49,9 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
#ifdef START_UNITS
|
||||||
static int deity_build_land(int, coord, coord, natid, int);
|
static int deity_build_land(int, coord, coord, natid, int);
|
||||||
|
#endif
|
||||||
static int isok(int x, int y);
|
static int isok(int x, int y);
|
||||||
static void ok(s_char *map, int x, int y);
|
static void ok(s_char *map, int x, int y);
|
||||||
|
|
||||||
|
@ -302,6 +304,7 @@ ok(s_char *map, int x, int y)
|
||||||
ok(map, diroff[dir][0] + x, diroff[dir][1] + y);
|
ok(map, diroff[dir][0] + x, diroff[dir][1] + y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef START_UNITS
|
||||||
static int
|
static int
|
||||||
deity_build_land(int type, coord x, coord y, natid own, int tlev)
|
deity_build_land(int type, coord x, coord y, natid own, int tlev)
|
||||||
{
|
{
|
||||||
|
@ -382,3 +385,4 @@ deity_build_land(int type, coord x, coord y, natid own, int tlev)
|
||||||
pr(" built in sector %s\n", xyas(x, y, player->cnum));
|
pr(" built in sector %s\n", xyas(x, y, player->cnum));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#endif /* START_UNITS */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue