1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-12 03:33:00 +00:00

gp:: fixed wrong gp_adj on embedded

This commit is contained in:
Zeno Rogue
2023-05-01 15:46:42 +02:00
parent f9a951a2d1
commit cad46dc16f
3 changed files with 17 additions and 1 deletions

View File

@@ -172,7 +172,10 @@ struct hrmap_spherical : hrmap_standard {
return Id;
}
void on_dim_change() override { where.clear(); }
void on_dim_change() override {
hrmap_standard::on_dim_change();
where.clear();
}
transmatrix relative_matrixc(cell *c2, cell *c1, const hyperpoint& hint) override {
transmatrix T = iso_inverse(get_where(c1)) * get_where(c2);