From 3ea65b7bf2b7e311600d880b349e266e71688fc3 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Fri, 20 May 2011 21:28:49 -0400 Subject: [PATCH] Quirks Mode required for .ini files. --- src/BGAnimation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/BGAnimation.cpp b/src/BGAnimation.cpp index 46f5673913..827b732cd7 100644 --- a/src/BGAnimation.cpp +++ b/src/BGAnimation.cpp @@ -6,6 +6,7 @@ #include "ActorUtil.h" #include "Foreach.h" #include "LuaManager.h" +#include "PrefsManager.h" REGISTER_ACTOR_CLASS(BGAnimation); @@ -100,7 +101,7 @@ void BGAnimation::LoadFromAniDir( const RString &_sAniDir ) RString sPathToIni = sAniDir + "BGAnimation.ini"; - if( DoesFileExist(sPathToIni) ) + if( DoesFileExist(sPathToIni) && PREFSMAN->m_bQuirksMode ) { // This is a 3.9-style BGAnimation (using .ini) IniFile ini;