diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-19 00:30:02 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-19 00:30:02 +0100 |
commit | dfa0c8bf1921d955f1ea5af6388a381b280fcd98 (patch) | |
tree | 639af8a47ae411af564387c5cf1f700b9495390d /src/skel | |
parent | Get keyboard input from X11 on Linux (diff) | |
parent | name error strings to REVC (diff) | |
download | re3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.tar re3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.tar.gz re3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.tar.bz2 re3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.tar.lz re3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.tar.xz re3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.tar.zst re3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.zip |
Diffstat (limited to 'src/skel')
-rw-r--r-- | src/skel/win/win.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index 89c901b2..21bd0eb0 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -2273,7 +2273,7 @@ WinMain(HINSTANCE instance, case GS_START_UP: { #ifdef NO_MOVIES - gGameState = GS_INIT_ONCE; + gGameState = gbNoMovies ? GS_INIT_ONCE : GS_INIT_LOGO_MPEG; #else gGameState = GS_INIT_LOGO_MPEG; #endif @@ -2314,8 +2314,11 @@ WinMain(HINSTANCE instance, case GS_INIT_INTRO_MPEG: { -#ifndef NO_MOVIES +#ifdef NO_MOVIES + if (!gbNoMovies) +#endif CloseClip(); +#ifndef FIX_BUGS CoUninitialize(); #endif @@ -2353,8 +2356,11 @@ WinMain(HINSTANCE instance, case GS_INIT_ONCE: { -#ifndef NO_MOVIES +#ifdef NO_MOVIES + if (!gbNoMovies) +#endif CloseClip(); +#ifndef FIX_BUGS CoUninitialize(); #endif |