1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 22:23:18 +00:00

... one more fix

This commit is contained in:
Zeno Rogue 2017-09-30 11:42:45 +02:00
parent e2c66abf5b
commit 14e4fe9a60

View File

@ -1383,6 +1383,7 @@ namespace mirror {
forCellEx(c2, cw.c) if(c2->landparam & 255) cando = true;
if(cando) buildEquidistant(cw.c);
}
if((cw.c->landparam & 255) == 0) return cw;
int cid = (cw.c->landparam >> 8) & CACHEMASK;
if(cache[cid].first != cw.c) {
cid = nextcache++;