Revert "Fix compiler warnings in macos build."

This reverts commit 0d59f1a22b.
This commit is contained in:
nhmall
2018-11-23 22:16:49 -05:00
parent 7f023c99fb
commit 9db124f650
8 changed files with 46 additions and 47 deletions

View File

@@ -1156,10 +1156,10 @@ int x,y;
int tx = u.tx;
int ty = u.ty;
boolean ret;
int glyph = glyph_at(x,y);
int g = glyph_at(x,y);
if (x == u.ux && y == u.uy)
return TRUE;
if (isok(x,y) && glyph_is_cmap(glyph) && S_stone == glyph_to_cmap(glyph)
if (isok(x,y) && glyph_is_cmap(g) && S_stone == glyph_to_cmap(g)
&& !levl[x][y].seenv)
return FALSE;
u.tx = x;