1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

rogueviz:: made gobot compile without video

This commit is contained in:
Zeno Rogue 2023-12-27 16:32:36 +01:00
parent eb4b7177f3
commit 18247ec98f
2 changed files with 3 additions and 1 deletions

View File

@ -901,6 +901,7 @@ int rugArgs() {
else if(argis("-go-save")) save_go();
#if CAP_VIDEO
else if(argis("-go-video")) {
save_backup();
shift(); string s = args();
@ -918,6 +919,7 @@ int rugArgs() {
delHook(anims::hooks_anim, a);
undo();
}
#endif
else return 1;
return 0;

View File

@ -234,7 +234,7 @@ struct hrmap_notknot : hrmap {
heptagon* at(int x, int y, int z) {
dynamicval<eGeometry> g(geometry, base);
dynamicval<hrmap*> m(currentmap, euc);
euc::coord co = euc::basic_canonicalize({x, y, z});
euc::coord co = euc::basic_canonicalize(euc::coord{x, y, z});
return euc::get_at(co);
}