mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
fixed the mirror cache
This commit is contained in:
parent
c8a45217f4
commit
546c1f4ef0
@ -1381,7 +1381,7 @@ namespace mirror {
|
|||||||
cid = nextcache++;
|
cid = nextcache++;
|
||||||
nextcache &= CACHEMASK;
|
nextcache &= CACHEMASK;
|
||||||
cw.c->landparam &= ~ (CACHEMASK << 8);
|
cw.c->landparam &= ~ (CACHEMASK << 8);
|
||||||
cw.c->landparam |= (nextcache << 8);
|
cw.c->landparam |= (cid << 8);
|
||||||
cache[cid].first = cw.c;
|
cache[cid].first = cw.c;
|
||||||
cache[cid].second = reflect0(cw.c);
|
cache[cid].second = reflect0(cw.c);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user