1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

crystal:: fixed Crystal344

This commit is contained in:
Zeno Rogue 2019-11-16 01:40:27 +01:00
parent c021e74ba0
commit e898f0ccf0

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; }