mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixed a crash bug while drawing
This commit is contained in:
parent
b34df21540
commit
b31e81f442
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user