aboutsummaryrefslogtreecommitdiffstats
path: root/Game
diff options
context:
space:
mode:
authormogguh <mogguh@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-10 19:02:04 +0000
committermogguh <mogguh@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-10 19:02:04 +0000
commit08ad90ec9f574c7dc153c8d40169f3a58c9beb9a (patch)
treec6746f1d8ccaf984b9de97f4777f42e32e7572a5 /Game
parent4a02c310505c1459550c907a926d074f26bac57b (diff)
downloadusdx-08ad90ec9f574c7dc153c8d40169f3a58c9beb9a.tar.gz
usdx-08ad90ec9f574c7dc153c8d40169f3a58c9beb9a.tar.xz
usdx-08ad90ec9f574c7dc153c8d40169f3a58c9beb9a.zip
BugFix: Changed a 9 with a 8..
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@384 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UDraw.pas2
-rw-r--r--Game/Code/Classes/UGraphic.pas2
2 files changed, 2 insertions, 2 deletions
diff --git a/Game/Code/Classes/UDraw.pas b/Game/Code/Classes/UDraw.pas
index 8cfa8d7e..94617583 100644
--- a/Game/Code/Classes/UDraw.pas
+++ b/Game/Code/Classes/UDraw.pas
@@ -1431,7 +1431,7 @@ if Age < 5 then Size := Age * 10 else Size := 50;
//New Method, Not Variable
- glBindTexture(GL_TEXTURE_2D, Tex_SingLineBonusBack[2]);
+ glBindTexture(GL_TEXTURE_2D, Tex_SingLineBonusBack[2].TexNum);
glBegin(GL_QUADS);
glTexCoord2f(0, 0); glVertex2f(X + 50 - Size, Y + 25 - (Size/2));
diff --git a/Game/Code/Classes/UGraphic.pas b/Game/Code/Classes/UGraphic.pas
index 79f82438..0c022b8f 100644
--- a/Game/Code/Classes/UGraphic.pas
+++ b/Game/Code/Classes/UGraphic.pas
@@ -236,7 +236,7 @@ begin
//end Singbar Mod
//Line Bonus PopUp
- for P := 0 to 9 do
+ for P := 0 to 8 do
begin
Tex_SingLineBonusBack[P] := Texture.LoadTexture(pchar(Skin.GetTextureFileName('LineBonusBack')), 'PNG', 'Colorized', $FFFFFF);
end;