Cheats enabled in release. I plan to put a bit pop-up warning about it breaking the game and dmods later though

git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1499 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
seth 2017-09-21 02:35:09 +00:00
parent 52c51c8a45
commit e957a44fe6

View file

@ -539,7 +539,6 @@ if (GetEmulatedPlatformID() == PLATFORM_ID_IOS)
}
#ifdef _DEBUG
GetApp()->SetCheatsEnabled(true);
#endif
#ifdef _WIN32
@ -548,6 +547,8 @@ if (GetEmulatedPlatformID() == PLATFORM_ID_IOS)
//GetApp()->SetCheatsEnabled(true);
#endif
GetApp()->SetCheatsEnabled(true);
bool bSound = m_varDB.GetVarWithDefault("sound", uint32(1))->GetUINT32() != 0;
GetAudioManager()->SetSoundEnabled(bSound);