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:
parent
322d2bff86
commit
e95fc386e1
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user