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);