Quirks Mode required for .ini files.

This commit is contained in:
Jason Felds
2011-05-20 21:28:49 -04:00
parent c8b0bf82c2
commit 3ea65b7bf2
+2 -1
View File
@@ -6,6 +6,7 @@
#include "ActorUtil.h" #include "ActorUtil.h"
#include "Foreach.h" #include "Foreach.h"
#include "LuaManager.h" #include "LuaManager.h"
#include "PrefsManager.h"
REGISTER_ACTOR_CLASS(BGAnimation); REGISTER_ACTOR_CLASS(BGAnimation);
@@ -100,7 +101,7 @@ void BGAnimation::LoadFromAniDir( const RString &_sAniDir )
RString sPathToIni = sAniDir + "BGAnimation.ini"; RString sPathToIni = sAniDir + "BGAnimation.ini";
if( DoesFileExist(sPathToIni) ) if( DoesFileExist(sPathToIni) && PREFSMAN->m_bQuirksMode )
{ {
// This is a 3.9-style BGAnimation (using .ini) // This is a 3.9-style BGAnimation (using .ini)
IniFile ini; IniFile ini;