diff --git a/reg3.cpp b/reg3.cpp index abf6b0f3..b842ff6d 100644 --- a/reg3.cpp +++ b/reg3.cpp @@ -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; j1type; j1++) if(j1 != j)