1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-06-01 18:32:12 +00:00

hat:: fixed crashes when changing hat param with mouse, also works with embedded_plane now

This commit is contained in:
Zeno Rogue
2023-03-25 23:43:26 +01:00
parent d13c939ff6
commit f8b6b28c75
2 changed files with 33 additions and 9 deletions
+1 -1
View File
@@ -542,7 +542,7 @@ EX string geometry_name(eGeometryClass gc) {
}
EX string geometry_name() {
if(cgi.emb->is_same_in_same())
if(cgi.emb && cgi.emb->is_same_in_same())
return geometry_name(geom3::mgclass());
else if(embedded_plane && gproduct)
return geometry_name(geom3::mgclass()) + " (x E)";