diff --git a/raycaster.cpp b/raycaster.cpp index de34f8b3..edded34c 100644 --- a/raycaster.cpp +++ b/raycaster.cpp @@ -1059,6 +1059,7 @@ color_t color_out_of_range = 0x0F0800FF; int gms_size; EX void cast() { + if(isize(cgi.raywall) > irays) reset_raycaster(); enable_raycaster(); if(comparison_mode)