mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-10 10:43:03 +00:00
rogueviz:;seuphorica:: fixed a crash in some geometries
This commit is contained in:
@@ -300,6 +300,7 @@ void render_tile(shiftmatrix V, tile& t, cell *c, vector<tile>* origbox, int box
|
|||||||
if(c && tiles3) {
|
if(c && tiles3) {
|
||||||
wider w(wide);
|
wider w(wide);
|
||||||
set_floor(cgi.shFullFloor);
|
set_floor(cgi.shFullFloor);
|
||||||
|
ensure_floorshape_generated(shvid(c), c);
|
||||||
for(int i=0; i<c->type; i++)
|
for(int i=0; i<c->type; i++)
|
||||||
if(!board.count(c->move(i))) placeSidewall(c, i, SIDE_SLEV, V, back);
|
if(!board.count(c->move(i))) placeSidewall(c, i, SIDE_SLEV, V, back);
|
||||||
V1 = orthogonal_move_fol(V, cgi.SLEV[1]);
|
V1 = orthogonal_move_fol(V, cgi.SLEV[1]);
|
||||||
|
|||||||
Reference in New Issue
Block a user