diff --git a/src/textures/bitmap.cpp b/src/textures/bitmap.cpp index b552f9797b..26ca3b8e26 100644 --- a/src/textures/bitmap.cpp +++ b/src/textures/bitmap.cpp @@ -421,7 +421,7 @@ bool FClipRect::Intersect(int ix, int iy, int iw, int ih) } else { - ih -= (x-ih); + ih -= (y-iy); } if (iw < width) width = iw; if (ih < height) height = ih;