1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

fixed a crash bug while drawing

This commit is contained in:
Zeno Rogue 2020-02-26 01:41:27 +01:00
parent b34df21540
commit b31e81f442

View File

@ -1232,7 +1232,7 @@ void hrmap_standard::draw() {
if(sphere) draw = true; if(sphere) draw = true;
if(draw) for(int d=0; d<c->type; d++) { if(draw) for(int d=0; d<c->master->type; d++) {
hstate s2 = transition(s, d); hstate s2 = transition(s, d);
if(s2 == hsError) continue; if(s2 == hsError) continue;
heptspin hs2 = hs + d + wstep; heptspin hs2 = hs + d + wstep;