Fixed an issue with dynamic variables not working on the image effects.

This commit is contained in:
mapeki 2010-10-18 22:30:45 +00:00
parent 74fd39f912
commit 71ce46442e
2 changed files with 2 additions and 3 deletions

View File

@ -136,7 +136,7 @@ void CMeterBar::ReadConfig(const WCHAR* section)
if (m_Initialized) if (m_Initialized)
{ {
if (oldImageName != m_ImageName) if (oldImageName != m_ImageName || m_NeedsTinting || m_NeedsTransform)
{ {
Initialize(); // Reload the image Initialize(); // Reload the image
} }

View File

@ -113,8 +113,7 @@ void CMeterRotator::ReadConfig(const WCHAR* section)
m_ValueRemainder = parser.ReadInt(section, L"ValueReminder", 0); // Typo m_ValueRemainder = parser.ReadInt(section, L"ValueReminder", 0); // Typo
m_ValueRemainder = parser.ReadInt(section, L"ValueRemainder", m_ValueRemainder); m_ValueRemainder = parser.ReadInt(section, L"ValueRemainder", m_ValueRemainder);
if (m_Initialized && if (m_Initialized && oldImageName != m_ImageName || m_NeedsTinting || m_NeedsTransform)
oldImageName != m_ImageName)
{ {
Initialize(); // Reload the image Initialize(); // Reload the image
} }