1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-27 20:07:40 +00:00

added some missing guards

This commit is contained in:
Zeno Rogue
2025-06-22 15:41:43 +02:00
parent d4bb23b8eb
commit 537a3b8779
10 changed files with 49 additions and 6 deletions

View File

@@ -2013,9 +2013,11 @@ EX void convert() {
sh.vertices.clear();
sh.connections.clear();
sh.cycle_length = id.modval;
#if CAP_ARCM
if(arcm::in())
sh.orig_id = arcm::get_graphical_id(s);
else
#endif
sh.orig_id = shvid(s);
sh.repeat_value = t / id.modval;
sh.flags = hr::pseudohept(s) ? arcm::sfPH : 0;