Skip to content

Commit 247b0e1

Browse files
committed
change ChronoDeathBehavior opacity values to percent
1 parent ecb2cd6 commit 247b0e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Behavior/ChronoDeathBehavior.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ ChronoDeathBehaviorModuleData::ChronoDeathBehaviorModuleData()
7272
{ "OCL", INI::parseObjectCreationList, NULL, offsetof(ChronoDeathBehaviorModuleData, m_ocl) },
7373
{ "StartScale", INI::parseReal, NULL, offsetof(ChronoDeathBehaviorModuleData, m_startScale) },
7474
{ "EndScale", INI::parseReal, NULL, offsetof(ChronoDeathBehaviorModuleData, m_endScale) },
75-
{ "StartOpacity", INI::parseReal, NULL, offsetof(ChronoDeathBehaviorModuleData, m_startAlpha) },
76-
{ "EndOpacity", INI::parseReal, NULL, offsetof(ChronoDeathBehaviorModuleData, m_endAlpha) },
75+
{ "StartOpacity", INI::parsePercentToReal, NULL, offsetof(ChronoDeathBehaviorModuleData, m_startAlpha) },
76+
{ "EndOpacity", INI::parsePercentToReal, NULL, offsetof(ChronoDeathBehaviorModuleData, m_endAlpha) },
7777
{ "DestructionDelay", INI::parseDurationUnsignedInt, NULL, offsetof(ChronoDeathBehaviorModuleData, m_destructionDelay) },
7878
{ 0, 0, 0, 0 }
7979
};

0 commit comments

Comments
 (0)