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:
parent
df5deaba4b
commit
249dff7382
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user