1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-12 07:16:01 +00:00

throw hr_exceptions not strings

This commit is contained in:
Zeno Rogue
2021-03-24 20:25:44 +01:00
parent 8fc92f2e83
commit 953e17722d
6 changed files with 12 additions and 12 deletions

View File

@@ -53,7 +53,7 @@ coord coord::addmove(int d) {
case 9: return down().shift(1, 2);
case 10: return shift(-1, 0);
case 11: return shift(0, -1);
default: throw "error";
default: throw hr_exception("error");
}
}