(deity_build_land) [!START_UNITS]: Unused, don't define.

This commit is contained in:
Markus Armbruster 2004-03-01 14:06:23 +00:00
parent d0cf6a0a9b
commit 7d12f4b841

View file

@ -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 */