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