1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +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;
default:
printf("euc::get_shifttable() called in geometry that is not euclid3");
exit(1);
throw hr_exception("euc::get_shifttable() called in geometry that is not euclid3");
}
// reverse everything