Remove dead code.
This commit is contained in:
parent
b5c62f5c89
commit
8f998de170
3 changed files with 1 additions and 6 deletions
|
@ -271,7 +271,6 @@ xdvisible(int type, void *p)
|
|||
static int
|
||||
xditem(int type, char *arg)
|
||||
{
|
||||
int check_owner = !player->god && (ef_flags(type) & EFF_OWNER) != 0;
|
||||
struct castr *ca;
|
||||
struct nstr_item ni;
|
||||
int n;
|
||||
|
|
|
@ -48,9 +48,7 @@ numstr(char *buf, int n)
|
|||
};
|
||||
static char *tennames[] = {
|
||||
"", "", "twenty", "thirty", "forty", "fifty",
|
||||
"sixty", "seventy", "eighty", "ninety",
|
||||
"hundred", "hundred ten", "hundred twenty",
|
||||
"hundred thirty", 0,
|
||||
"sixty", "seventy", "eighty", "ninety", "hundred"
|
||||
};
|
||||
|
||||
if (n > 100) {
|
||||
|
|
|
@ -66,7 +66,6 @@ static int
|
|||
do_map_set(char *map, coord x, coord y, char t, int force)
|
||||
{
|
||||
int id;
|
||||
char ot;
|
||||
|
||||
if ((id = sctoff(x, y)) < 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)
|
||||
return 0;
|
||||
|
||||
ot = map[id];
|
||||
if (t == '?') {
|
||||
switch (map[id]) {
|
||||
case '.':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue