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
1 changed files with 1 additions and 1 deletions

View File

@ -1232,7 +1232,7 @@ void hrmap_standard::draw() {
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);
if(s2 == hsError) continue;
heptspin hs2 = hs + d + wstep;