From 7031a6441936ee1b8319773aad0f4f4c6bb97e3e Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Sat, 16 Apr 2016 19:03:28 +0300 Subject: [PATCH] more fixes --- src/game/g_panel.pas | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/g_panel.pas b/src/game/g_panel.pas index 9672be8..c3db76e 100644 --- a/src/game/g_panel.pas +++ b/src/game/g_panel.pas @@ -200,6 +200,10 @@ begin if PanelRec.TextureNum > High(Textures) then begin e_WriteLog(Format('WTF?! PanelRec.TextureNum is out of limits! (%d : %d)', [PanelRec.TextureNum, High(Textures)]), MSG_FATALERROR); + FTextureWidth := 2; + FTextureHeight := 2; + FAlpha := 0; + FBlending := ByteBool(0); end else if not g_Map_IsSpecialTexture(Textures[PanelRec.TextureNum].TextureName) then begin -- 2.29.2