aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UDraw.pas
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-11-24 18:02:06 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-11-24 18:02:06 +0000
commit89fdb71c854b2b5081e1cb5ec3e26e1bb93e3b60 (patch)
tree3659689b9c8e790b26d6637ed592e395a1c66c0a /Game/Code/Classes/UDraw.pas
parent9792c8c1af8dc0733e3851a2f094897590b25605 (diff)
downloadusdx-89fdb71c854b2b5081e1cb5ec3e26e1bb93e3b60.tar.gz
usdx-89fdb71c854b2b5081e1cb5ec3e26e1bb93e3b60.tar.xz
usdx-89fdb71c854b2b5081e1cb5ec3e26e1bb93e3b60.zip
- fix: crash at startup (my fault)
- fix: it was possible to add non-medley songs to the medley playlist -> crash in singscreen - updated polish language (thx to Pit33) - deactivate all elements (but not background/video) in singscreen (with "N") git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2751 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/UDraw.pas')
-rw-r--r--Game/Code/Classes/UDraw.pas6
1 files changed, 5 insertions, 1 deletions
diff --git a/Game/Code/Classes/UDraw.pas b/Game/Code/Classes/UDraw.pas
index 8b7fd8b4..90efe40e 100644
--- a/Game/Code/Classes/UDraw.pas
+++ b/Game/Code/Classes/UDraw.pas
@@ -64,7 +64,8 @@ var
TickOld: cardinal;
TickOld2:cardinal;
//end Singbar Mod
- ShowNotes: integer; //0=show all; 1=don't show notes+rating; 2=don't show notes, rating, score+score bar; 3=also lyrics
+ ShowNotes: integer; //0=show all; 1=don't show notes+rating; 2=don't show notes, rating, score+score bar;
+ //3=also lyrics; 4=hide all
@@ -2014,6 +2015,9 @@ var x,y: real;
CurTime, TotalTime: real;
progress: real;
begin
+ if (ShowNotes>3) then
+ Exit;
+
x := Theme.Sing.StaticTimeProgress.x;
y := Theme.Sing.StaticTimeProgress.y;
width:= Theme.Sing.StaticTimeProgress.w;