Commit 0aef664d authored by Richard Gobeille's avatar Richard Gobeille
Browse files

engine: fix crash in classic mode voxel rendering

parent 77edda9a
......@@ -6486,7 +6486,9 @@ next_most:
(tspr->xrepeat * 5) / 4 :
tspr->xrepeat;
const int32_t lx = 0, rx = xdim-1;
const int32_t lx = 0, rx = xdimen-1;
Bassert(rx+windowxy1.x < xdim);
for (x=lx; x<=rx; x++)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment