mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-23 22:16:03 +00:00
fixed a crash bug while drawing
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user