fixed the mirror cache

This commit is contained in:
Zeno Rogue committed 2017-09-17 12:28:44 +02:00
1 parent c8a45217f4
commit 546c1f4ef0
1 file changed
+1 -1
+1 -1
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);
}