1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-21 10:29:44 +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

@@ -1197,7 +1197,7 @@ EX namespace reg3 {
res = at;
}
if(!res) throw "res missing";
if(!res) throw hr_exception("res missing");
if(res->move(d2)) println(hlog, "res conflict");