diff options
author | mogguh <mogguh@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-04-11 17:57:18 +0000 |
---|---|---|
committer | mogguh <mogguh@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-04-11 17:57:18 +0000 |
commit | d74fd107869347fef713d187dcd925257bfdadfe (patch) | |
tree | e71dd1682faa3b9492bdceae0781dc24becd7879 | |
parent | 80e691699f2b236e4af80f8c1178cde07b458da3 (diff) | |
download | usdx-d74fd107869347fef713d187dcd925257bfdadfe.tar.gz usdx-d74fd107869347fef713d187dcd925257bfdadfe.tar.xz usdx-d74fd107869347fef713d187dcd925257bfdadfe.zip |
Bugfix: Score screen is now able to handle texts depended on the player count (UScreenScore.pas)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@79 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Screens/UScreenScore.pas | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Game/Code/Screens/UScreenScore.pas b/Game/Code/Screens/UScreenScore.pas index 9184b3f5..2c018b96 100644 --- a/Game/Code/Screens/UScreenScore.pas +++ b/Game/Code/Screens/UScreenScore.pas @@ -167,6 +167,8 @@ begin SetLength(PlayerStatic[P], Length(Theme.Score.PlayerStatic[P]));
+ SetLength(PlayerTexts[P], Length(Theme.Score.PlayerTexts[P]));
+
for I := 0 to High(Theme.Score.PlayerStatic[P]) do
PlayerStatic[P, I] := AddStatic(Theme.Score.PlayerStatic[P, I]);
@@ -285,7 +287,7 @@ begin Static[PlayerStatic[P, I]].Visible := V[P];
for I := 0 to high(PlayerTexts[P]) do
- Static[PlayerTexts[P, I]].Visible := V[P];
+ Text[PlayerTexts[P, I]].Visible := V[P];
Static[StaticBoxLightest[P]].Visible := V[P];
Static[StaticBoxLight[P]].Visible := V[P];
|