mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
reg3:: exit -> exception
This commit is contained in:
parent
0701a5e194
commit
c53b60adf5
2
reg3.cpp
2
reg3.cpp
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user