1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-30 03:50:34 +00:00

reg3:: exit -> exception

This commit is contained in:
Zeno Rogue 2021-07-18 11:14:29 +02:00
parent 0701a5e194
commit c53b60adf5

View File

@ -967,7 +967,7 @@ EX namespace reg3 {
fac.push_back(sd[i2]); fac.push_back(sd[i2]);
if(isize(fac) != 2) { if(isize(fac) != 2) {
println(hlog, "fac= ", fac); println(hlog, "fac= ", fac);
exit(1); throw hr_exception("fac error");
} }
int found_strafe = 0; int found_strafe = 0;
for(int j1=0; j1<c1->type; j1++) if(j1 != j) for(int j1=0; j1<c1->type; j1++) if(j1 != j)