mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-04 19:47:54 +00:00
reset raycaster if wo>=rays
This commit is contained in:
@@ -1239,6 +1239,7 @@ EX void cast() {
|
|||||||
int wo = wall_offset(c);
|
int wo = wall_offset(c);
|
||||||
if(wo >= irays) {
|
if(wo >= irays) {
|
||||||
println(hlog, "wo=", wo, " irays = ", irays);
|
println(hlog, "wo=", wo, " irays = ", irays);
|
||||||
|
reset_raycaster();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
transmatrix T = currentmap->iadj(c, i) * inverse(ms[wo + i]);
|
transmatrix T = currentmap->iadj(c, i) * inverse(ms[wo + i]);
|
||||||
|
Reference in New Issue
Block a user