mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-12 20:24:06 +00:00
added a message to 'no cat in hash' exception in euc
This commit is contained in:
parent
15c3089fce
commit
cb15dc881e
@ -589,7 +589,7 @@ EX namespace euc {
|
||||
auto cat = compute_cat(x);
|
||||
auto& st = cubemap()->shifttable;
|
||||
while(!hash.count(cat)) {
|
||||
if(index == isize(seq)) throw hr_exception();
|
||||
if(index == isize(seq)) throw hr_exception("no cat in hash");
|
||||
auto v = seq[index++];
|
||||
for(auto s: st) add(v + s);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user