1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-05-13 04:34:07 +00:00

added a message to 'no cat in hash' exception in euc

This commit is contained in:
Zeno Rogue 2025-04-07 22:52:58 +02:00
parent 15c3089fce
commit cb15dc881e

View File

@ -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);
}