mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 10:20:32 +00:00
... one more fix
This commit is contained in:
parent
e2c66abf5b
commit
14e4fe9a60
@ -1383,6 +1383,7 @@ namespace mirror {
|
|||||||
forCellEx(c2, cw.c) if(c2->landparam & 255) cando = true;
|
forCellEx(c2, cw.c) if(c2->landparam & 255) cando = true;
|
||||||
if(cando) buildEquidistant(cw.c);
|
if(cando) buildEquidistant(cw.c);
|
||||||
}
|
}
|
||||||
|
if((cw.c->landparam & 255) == 0) return cw;
|
||||||
int cid = (cw.c->landparam >> 8) & CACHEMASK;
|
int cid = (cw.c->landparam >> 8) & CACHEMASK;
|
||||||
if(cache[cid].first != cw.c) {
|
if(cache[cid].first != cw.c) {
|
||||||
cid = nextcache++;
|
cid = nextcache++;
|
||||||
|
Loading…
Reference in New Issue
Block a user