Skip to content

Commit 524a9c6

Browse files
authored
tweak(behavior): Add RETAIL_COMPATIBLE_BUG to Black Lotus cash value fix (#1864)
1 parent 2e95fe2 commit 524a9c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Generals/Code/GameEngine/Source/GameLogic/Object/Update/SpecialAbilityUpdate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ void SpecialAbilityUpdate::triggerAbilityEffect()
13411341
if( targetMoney && objectMoney )
13421342
{
13431343
UnsignedInt cash = targetMoney->countMoney();
1344-
#if RETAIL_COMPATIBLE_CRC
1344+
#if RETAIL_COMPATIBLE_CRC || RETAIL_COMPATIBLE_BUG
13451345
UnsignedInt desiredAmount = 1000;
13461346
#else
13471347
UnsignedInt desiredAmount = data->m_effectValue;

GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Update/SpecialAbilityUpdate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@ void SpecialAbilityUpdate::triggerAbilityEffect()
14871487
if( targetMoney && objectMoney )
14881488
{
14891489
UnsignedInt cash = targetMoney->countMoney();
1490-
#if RETAIL_COMPATIBLE_CRC
1490+
#if RETAIL_COMPATIBLE_CRC || RETAIL_COMPATIBLE_BUG
14911491
UnsignedInt desiredAmount = 1000;
14921492
#else
14931493
UnsignedInt desiredAmount = data->m_effectValue;

0 commit comments

Comments
 (0)