added some missing guards

This commit is contained in:
Zeno Rogue committed 2020-07-30 02:29:59 +02:00
1 parent 9d0a252d14
commit ecbd8806e7
4 files changed
+9 -5

No files matched your search

+3 -1
View File
@@ -1270,10 +1270,12 @@ void hrmap::draw_at(cell *at, const shiftmatrix& where) {
drawcell(c, V);
if(in_wallopt() && isWall3(c) && isize(dq::drawqueue) > 1000) continue;
#if MAXMDIM >= 4
if(reg3::ultra_mirror_in())
for(auto& T: cgi.ultra_mirrors)
enq(c, optimized_shift(V * T));
#endif
for(int i=0; i<c->type; i++) {
// note: need do cmove before c.spin
cell *c1 = c->cmove(i);