mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-19 16:07:40 +00:00
out_of_bounds cell
This commit is contained in:
@@ -1720,6 +1720,7 @@ void hrmap::draw_at(cell *at, const shiftmatrix& where) {
|
||||
for(int i=0; i<c->type; i++) {
|
||||
// note: need do cmove before c.spin
|
||||
cell *c1 = c->cmove(i);
|
||||
if(c1 == &out_of_bounds) continue;
|
||||
enq(c1, optimized_shift(V * adj(c, i)));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user