1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00

fixed the mirror cache

This commit is contained in:
Zeno Rogue 2017-09-17 12:28:44 +02:00
parent c8a45217f4
commit 546c1f4ef0

View File

@ -1381,7 +1381,7 @@ namespace mirror {
cid = nextcache++;
nextcache &= CACHEMASK;
cw.c->landparam &= ~ (CACHEMASK << 8);
cw.c->landparam |= (nextcache << 8);
cw.c->landparam |= (cid << 8);
cache[cid].first = cw.c;
cache[cid].second = reflect0(cw.c);
}