aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Menu/UMenuText.pas
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-24 13:31:43 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-24 13:31:43 +0000
commit739ad9a6dee57375f05dcd20dc59ba2d619f11fa (patch)
treefb82b095cd5dca1bb06aaca59e1936008fac3490 /Game/Code/Menu/UMenuText.pas
parent1f9fd791bbe68741b8273a64eb5c0abe928e431c (diff)
downloadusdx-739ad9a6dee57375f05dcd20dc59ba2d619f11fa.tar.gz
usdx-739ad9a6dee57375f05dcd20dc59ba2d619f11fa.tar.xz
usdx-739ad9a6dee57375f05dcd20dc59ba2d619f11fa.zip
fixed song loading in Lazarus..
cant assume variables are initialized as 0 :) in UFile "Done: byte;" was no initialized on lazarus compiler. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@431 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Menu/UMenuText.pas')
-rw-r--r--Game/Code/Menu/UMenuText.pas4
1 files changed, 3 insertions, 1 deletions
diff --git a/Game/Code/Menu/UMenuText.pas b/Game/Code/Menu/UMenuText.pas
index d1c8b7b1..19adef03 100644
--- a/Game/Code/Menu/UMenuText.pas
+++ b/Game/Code/Menu/UMenuText.pas
@@ -237,10 +237,12 @@ var
Text2: string;
I: Integer;
begin
- if Visible then begin
+ if Visible then
+ begin
SetFontStyle(Style);
SetFontSize(Size);
SetFontItalic(False);
+
glColor4f(ColR*Int, ColG*Int, ColB*Int, Alpha);
//If Selected Set Blink...