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

using an exception in euclid

This commit is contained in:
Zeno Rogue
2024-06-02 16:45:15 +02:00
parent df5deaba4b
commit 249dff7382

View File

@@ -71,8 +71,7 @@ EX namespace euc {
break; break;
default: default:
printf("euc::get_shifttable() called in geometry that is not euclid3"); throw hr_exception("euc::get_shifttable() called in geometry that is not euclid3");
exit(1);
} }
// reverse everything // reverse everything