1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed crashes in Camelot

This commit is contained in:
Zeno Rogue 2019-04-21 00:56:43 +02:00
parent 322d2bff86
commit e95fc386e1

View File

@ -32,6 +32,7 @@ int getAnthraxData(cell *c, bool b) {
int roundTableRadius(cell *c) { int roundTableRadius(cell *c) {
if(eubinary) return 28; if(eubinary) return 28;
if(tactic::on) return getAnthraxData(c, true); if(tactic::on) return getAnthraxData(c, true);
if(!c->master->alt) return 28;
return c->master->alt->alt->emeraldval & GRAIL_RADIUS_MASK; return c->master->alt->alt->emeraldval & GRAIL_RADIUS_MASK;
} }