1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 18:54:48 +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];