diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-27 21:46:15 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-27 21:46:15 +0100 |
commit | 9e7cb046b3ab3fe9a0a6a670f6ffdcfb0ac75217 (patch) | |
tree | 3f5be36105d2f5c81a95bb9a7e15cf63b8592cd5 | |
parent | Dynamically add pipelines options, only if neo.txd exists (diff) | |
download | re3-9e7cb046b3ab3fe9a0a6a670f6ffdcfb0ac75217.tar re3-9e7cb046b3ab3fe9a0a6a670f6ffdcfb0ac75217.tar.gz re3-9e7cb046b3ab3fe9a0a6a670f6ffdcfb0ac75217.tar.bz2 re3-9e7cb046b3ab3fe9a0a6a670f6ffdcfb0ac75217.tar.lz re3-9e7cb046b3ab3fe9a0a6a670f6ffdcfb0ac75217.tar.xz re3-9e7cb046b3ab3fe9a0a6a670f6ffdcfb0ac75217.tar.zst re3-9e7cb046b3ab3fe9a0a6a670f6ffdcfb0ac75217.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Frontend.cpp | 6 | ||||
-rw-r--r-- | src/core/Game.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index 1e4d5d36..f803557f 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -3080,12 +3080,6 @@ CMenuManager::LoadSettings() strcpy(m_aSkinName, DEFAULT_SKIN_NAME); } -#ifdef CUSTOM_FRONTEND_OPTIONS - // Apparently this func. can be run multiple times at the start. - if (numCustomFrontendOptions == 0 && numCustomFrontendScreens == 0) { - CustomFrontendOptionsPopulate(); - } -#endif #ifdef LOAD_INI_SETTINGS LoadINISettings(); // needs frontend options to be loaded #endif diff --git a/src/core/Game.cpp b/src/core/Game.cpp index 630bbd07..b6ef7635 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -32,6 +32,7 @@ #include "Fluff.h" #include "Font.h" #include "Frontend.h" +#include "frontendoption.h" #include "GameLogic.h" #include "Garages.h" #include "GenericGameStorage.h" @@ -168,6 +169,11 @@ CGame::InitialiseOnceBeforeRW(void) #ifdef EXTENDED_COLOURFILTER CPostFX::InitOnce(); #endif +#ifdef CUSTOM_FRONTEND_OPTIONS + // Not needed here but may be needed in future + // if (numCustomFrontendOptions == 0 && numCustomFrontendScreens == 0) + CustomFrontendOptionsPopulate(); +#endif return true; } |