diff --git a/src/game/g_gui.pas b/src/game/g_gui.pas
index 98e49178a73e28dd3f39748abf9fd92d2843ecf0..67f3b8a6ebd8f5e4fbfb4e2893229b7db0e94afd 100644 (file)
--- a/src/game/g_gui.pas
+++ b/src/game/g_gui.pas
function TGUIMainMenu.AddButton(fProc: Pointer; Caption: string; ShowWindow: string = ''): TGUITextButton;
var
a, _x: Integer;
- h, hh, lh: Word;
+ h, hh: Word;
+ lh: Word = 0;
begin
FIndex := 0;