mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-03 19:27:54 +00:00
using an exception in euclid
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user