reg3:: exit -> exception

This commit is contained in:
Zeno Rogue 2021-07-18 11:14:29 +02:00
parent 0701a5e194
commit c53b60adf5
1 changed files with 1 additions and 1 deletions

View File

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