diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index 5c49b9add..f2a691dc5 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -13441,13 +13441,13 @@ void setaspect_new() x=r_screenxy/100; y=r_screenxy%100; if (y==0 || x==0) { x=4; y=3; } - pixratio = divscale16(xdim*y, ydim*x); + pixratio = divscale16(xdimen*y, ydimen*x); yx = divscale16(yx, pixratio); } else { - x = xdim; - y = ydim; + x = xdimen; + y = ydimen; } vr = divscale16(x*3, y*4);