crystal:: fixed Crystal344

This commit is contained in:
Zeno Rogue 2019-11-16 01:40:27 +01:00
parent c021e74ba0
commit e898f0ccf0
1 changed files with 4 additions and 1 deletions

View File

@ -555,7 +555,10 @@ struct hrmap_crystal : hrmap_standard {
exit(1);
}
transmatrix adj(cell *c, int d) override { return hrmap_standard::adj(c, d); }
transmatrix adj(cell *c, int d) override {
if(crystal3()) return adj(c->master, d);
return hrmap_standard::adj(c, d);
}
void draw() override {
if(!crystal3()) { hrmap_standard::draw(); return; }