Remove dead code.
This commit is contained in:
parent
b5c62f5c89
commit
8f998de170
3 changed files with 1 additions and 6 deletions
|
@ -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