Remove dead code.

This commit is contained in:
Markus Armbruster 2006-04-30 08:43:28 +00:00
parent b5c62f5c89
commit 8f998de170
3 changed files with 1 additions and 6 deletions

View file

@ -271,7 +271,6 @@ xdvisible(int type, void *p)
static int static int
xditem(int type, char *arg) xditem(int type, char *arg)
{ {
int check_owner = !player->god && (ef_flags(type) & EFF_OWNER) != 0;
struct castr *ca; struct castr *ca;
struct nstr_item ni; struct nstr_item ni;
int n; int n;

View file

@ -48,9 +48,7 @@ numstr(char *buf, int n)
}; };
static char *tennames[] = { static char *tennames[] = {
"", "", "twenty", "thirty", "forty", "fifty", "", "", "twenty", "thirty", "forty", "fifty",
"sixty", "seventy", "eighty", "ninety", "sixty", "seventy", "eighty", "ninety", "hundred"
"hundred", "hundred ten", "hundred twenty",
"hundred thirty", 0,
}; };
if (n > 100) { if (n > 100) {

View file

@ -66,7 +66,6 @@ static int
do_map_set(char *map, coord x, coord y, char t, int force) do_map_set(char *map, coord x, coord y, char t, int force)
{ {
int id; int id;
char ot;
if ((id = sctoff(x, y)) < 0) if ((id = sctoff(x, y)) < 0)
return 0; return 0;
@ -74,7 +73,6 @@ do_map_set(char *map, coord x, coord y, char t, int force)
if (((map[id] == 'x') || (map[id] == 'X')) && !force) if (((map[id] == 'x') || (map[id] == 'X')) && !force)
return 0; return 0;
ot = map[id];
if (t == '?') { if (t == '?') {
switch (map[id]) { switch (map[id]) {
case '.': case '.':