aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/ULyrics.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-08 13:05:43 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-08 13:05:43 +0000
commit4da33e2068a8896b9fa77f25ecbbc35be09bde24 (patch)
tree87f3579211ad0e939f439e7ebc61435e9c5e6989 /Game/Code/Classes/ULyrics.pas
parent3096103682304690d58970e41e1832d3acc34c0f (diff)
downloadusdx-4da33e2068a8896b9fa77f25ecbbc35be09bde24.tar.gz
usdx-4da33e2068a8896b9fa77f25ecbbc35be09bde24.tar.xz
usdx-4da33e2068a8896b9fa77f25ecbbc35be09bde24.zip
some warnings removed
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1236 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/ULyrics.pas')
-rw-r--r--Game/Code/Classes/ULyrics.pas8
1 files changed, 4 insertions, 4 deletions
diff --git a/Game/Code/Classes/ULyrics.pas b/Game/Code/Classes/ULyrics.pas
index eced2991..dd433c4d 100644
--- a/Game/Code/Classes/ULyrics.pas
+++ b/Game/Code/Classes/ULyrics.pas
@@ -530,10 +530,10 @@ procedure TLyricEngine.DrawPlayerIcon(Player: Byte; Enabled: Boolean; X, Y, Size
var
IEnabled: Byte;
begin
- case Enabled of
- True: IEnabled := 0;
- False: IEnabled := 1;
- end;
+ if Enabled then
+ IEnabled := 0
+ else
+ IEnabled := 1;
glEnable(GL_TEXTURE_2D);
glEnable(GL_BLEND);