mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
rogueviz:: made gobot compile without video
This commit is contained in:
parent
eb4b7177f3
commit
18247ec98f
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user