mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 18:30:34 +00:00
hat:: fixed tiles
This commit is contained in:
parent
1a97becdf0
commit
e1ec1ef5b9
@ -456,6 +456,7 @@ struct hrmap_hat : hrmap {
|
|||||||
heptagon *getOrigin() override { return origin; }
|
heptagon *getOrigin() override { return origin; }
|
||||||
|
|
||||||
hyperpoint get_corner(cell *c, int cid, ld cf) override {
|
hyperpoint get_corner(cell *c, int cid, ld cf) override {
|
||||||
|
cid = gmod(cid, isize(hatcorners[0]));
|
||||||
int t = c->master->c7 == c;
|
int t = c->master->c7 == c;
|
||||||
auto& h = hatcorners[t][cid];
|
auto& h = hatcorners[t][cid];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user