1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-29 16:57:56 +00:00

shift-awareness in rogueviz

This commit is contained in:
Zeno Rogue
2020-07-29 23:34:00 +02:00
parent e99251e70c
commit 9d0a252d14
18 changed files with 109 additions and 105 deletions

View File

@@ -29,7 +29,7 @@ hyperpoint spcoord(hyperpoint h) {
}
rug::rugpoint *pt(hyperpoint h, hyperpoint c) {
auto r = rug::addRugpoint(C0, -1);
auto r = rug::addRugpoint(shiftless(C0), -1);
r->native = spcoord(h);
r->x1 = c[0];
r->y1 = c[1];