diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-05-09 16:45:46 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-05-09 16:45:46 +0000 |
commit | 48e9a9faea54c6fa5b2b98e242444ae4c0183a7a (patch) | |
tree | 86dfcabc04d5c7b23d9113b8c6347711db6a6c96 /Game/Code/Classes/UMain.pas | |
parent | e0b0396acf6101acf2608d9fe4b36fa735196b2a (diff) | |
download | usdx-48e9a9faea54c6fa5b2b98e242444ae4c0183a7a.tar.gz usdx-48e9a9faea54c6fa5b2b98e242444ae4c0183a7a.tar.xz usdx-48e9a9faea54c6fa5b2b98e242444ae4c0183a7a.zip |
Fix: Readded ability to close the Window
Fix: Crash when SongScreen is opened in PartyMode when Tabs = On. Caused by SelectRandomSong procedure
Upd: M in SongScreen works now in PartyMode, too
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@184 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/UMain.pas')
-rw-r--r-- | Game/Code/Classes/UMain.pas | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas index 29ca5fcb..47860198 100644 --- a/Game/Code/Classes/UMain.pas +++ b/Game/Code/Classes/UMain.pas @@ -145,7 +145,11 @@ Begin Begin
// beep;
Case Event.type_ Of
- SDL_QUITEV: done := true;
+ SDL_QUITEV: begin
+ Display.Fade := 0;
+ Display.NextScreenWithCheck := nil;
+ Display.CheckOK := True;
+ end;
{ SDL_MOUSEBUTTONDOWN:
With Event.button Do
Begin
|