mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-19 12:28:07 +00:00
added a message to 'no cat in hash' exception in euc
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user