First set of changes to move globals to instance_globals.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user