mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-08 03:36:43 +00:00
rogueviz::seuphorica:: correct coordinates given for from_map
This commit is contained in:
parent
172bd3bcd9
commit
a36c4415da
@ -640,7 +640,11 @@ void snapshot() {
|
||||
}
|
||||
|
||||
void from_map(coord co, struct tile& t) {
|
||||
snapshots.back().emplace(t.id, snaptile{t, eupoint(vid.xres/2, vid.yres/2)});
|
||||
shiftpoint h = ggmatrix(co) * tile_center();
|
||||
hyperpoint h1;
|
||||
applymodel(h, h1);
|
||||
h1 = toscrcoord(h1);
|
||||
snapshots.back().emplace(t.id, snaptile{t, eupoint(h1[0], h1[1])});
|
||||
}
|
||||
|
||||
void is_clone(struct tile& orig, struct tile& clone) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user