aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-03 08:19:24 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-03 08:19:24 +0000
commit821733e30e78e05862ce73b0031d767099ef23cf (patch)
treecc41c3fc21967b044d7637dccc4613bcd4591ddd
parentbd7f987e26bf8d2308f14d219434c25b13d37c6f (diff)
downloadusdx-821733e30e78e05862ce73b0031d767099ef23cf.tar.gz
usdx-821733e30e78e05862ce73b0031d767099ef23cf.tar.xz
usdx-821733e30e78e05862ce73b0031d767099ef23cf.zip
fix: FadeEnabled was not initialized correctly. The case ((Ini.ScreenFade = 1) and FadeFailed) was not handled
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2436 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/menu/UDisplay.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menu/UDisplay.pas b/src/menu/UDisplay.pas
index fbe469a5..6ec8e2ed 100644
--- a/src/menu/UDisplay.pas
+++ b/src/menu/UDisplay.pas
@@ -266,7 +266,7 @@ begin
FadeStartTime := 0;
if ((Ini.ScreenFade = 1) and (not FadeFailed)) then
FadeEnabled := true
- else if (Ini.ScreenFade = 0) then
+ else
FadeEnabled := false;
eDraw.CallHookChain(false);