Skip to content

Commit baae135

Browse files
committed
tweak: Add RETAIL_COMPATIBLE_BUG to Black Lotus cash fix
- Follow up on #1601 With #1601 removing the hardcoded cash gain when Black Lotus performs a successfull cash hack, the Super Lotus now gains 1.500 instead of 1.000 credits per INI configuration. To keep in line with expectations, this fix also needs to be behind RETAIL_COMPATIBLE_BUG guards.
1 parent 2e95fe2 commit baae135

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)