1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-16 14:47:39 +00:00

fixed more fallthroughs, added exception hr_wrong_geometry

This commit is contained in:
Zeno Rogue
2021-03-12 22:59:24 +01:00
parent eb6322b864
commit 5f86ed6b4b
4 changed files with 8 additions and 2 deletions

View File

@@ -426,10 +426,12 @@ EX namespace sn {
case 7:
case 8:
return xpush(bw*(4.5-j)) * zpush(-1) * ypush(bw*(i-7));
default:
throw hr_wrong_dir;
}
}
default: throw "not nihsolv";
default: throw hr_wrong_geometry;
}
}