mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-18 03:04:48 +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