1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00

hat:: fixed tiles

This commit is contained in:
Zeno Rogue 2023-03-24 23:16:25 +01:00
parent 1a97becdf0
commit e1ec1ef5b9

View File

@ -456,6 +456,7 @@ struct hrmap_hat : hrmap {
heptagon *getOrigin() override { return origin; }
hyperpoint get_corner(cell *c, int cid, ld cf) override {
cid = gmod(cid, isize(hatcorners[0]));
int t = c->master->c7 == c;
auto& h = hatcorners[t][cid];