From c6e1a10d3bc6c0e9f478878425a006cb37fc3313 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 15 Nov 2026 09:16:59 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Check=20the=20arrow=20texture=20?= =?UTF-8?q?height,=20not=20the=20width=20twice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client/UOverlayUI.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/UOverlayUI.pas b/Client/UOverlayUI.pas index ddcb571..407f42d 100644 --- a/Client/UOverlayUI.pas +++ b/Client/UOverlayUI.pas @@ -111,7 +111,7 @@ end; procedure TGLArrow.UpdateTexture; begin - if (FGraphic <> nil) and (FRealWidth > 0) and (FRealWidth > 0) then + if (FGraphic <> nil) and (FRealWidth > 0) and (FRealHeight > 0) then begin FTexture := CreateGLTextureFromImage(FGraphic.ImageDataPointer^, 0, 0, False);