mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-13 06:32:51 +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 cat = compute_cat(x);
|
||||||
auto& st = cubemap()->shifttable;
|
auto& st = cubemap()->shifttable;
|
||||||
while(!hash.count(cat)) {
|
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++];
|
auto v = seq[index++];
|
||||||
for(auto s: st) add(v + s);
|
for(auto s: st) add(v + s);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user