aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Menu
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-10-26 16:42:48 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-10-26 16:42:48 +0000
commitbd869ae129f42fbe2489f1f9ecf333af4dd7195a (patch)
treeae779868f5a4e9c98400fefcd5eed65bb2d1e19d /Game/Code/Menu
parent00c2f58d7e51b9d4513e6d6bcc6f6299b427cc93 (diff)
downloadusdx-bd869ae129f42fbe2489f1f9ecf333af4dd7195a.tar.gz
usdx-bd869ae129f42fbe2489f1f9ecf333af4dd7195a.tar.xz
usdx-bd869ae129f42fbe2489f1f9ecf333af4dd7195a.zip
Fixed Score Bug in Brunch
It was caused by display class calling OnShow event 2 times Some CleanUp in UScreenTop5 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.01@530 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Menu')
-rw-r--r--Game/Code/Menu/UDisplay.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/Game/Code/Menu/UDisplay.pas b/Game/Code/Menu/UDisplay.pas
index 70e678fb..29450c1d 100644
--- a/Game/Code/Menu/UDisplay.pas
+++ b/Game/Code/Menu/UDisplay.pas
@@ -203,7 +203,7 @@ begin
end;
glViewPort((S-1) * ScreenW div Screens, 0, ScreenW div Screens, ScreenH);
// blackscreen-hack
- if not BlackScreen then
+ if (not BlackScreen) AND (S = 1) then
NextScreen.onShow;
lastTime:=GetTickCount;
if (S=2) or (Screens = 1) then
@@ -252,7 +252,7 @@ begin
end
else
// blackscreen hack
- if not BlackScreen then
+ if (not BlackScreen) AND (S = 1) then
NextScreen.OnShow;