First set of changes to move globals to instance_globals.

This commit is contained in:
Bart House
2018-12-19 20:00:35 -08:00
parent 616a469f0f
commit 912886a73f
51 changed files with 680 additions and 565 deletions
+2 -2
View File
@@ -1155,10 +1155,10 @@ int x,y;
int tx = u.tx;
int ty = u.ty;
boolean ret;
int g = glyph_at(x,y);
int glyph = glyph_at(x,y);
if (x == u.ux && y == u.uy)
return TRUE;
if (isok(x,y) && glyph_is_cmap(g) && S_stone == glyph_to_cmap(g)
if (isok(x,y) && glyph_is_cmap(glyph) && S_stone == glyph_to_cmap(glyph)
&& !levl[x][y].seenv)
return FALSE;
u.tx = x;