Skip to content

Commit 657e115

Browse files
committed
docs: Add comments
1 parent 927e7b8 commit 657e115

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Generals/Code/GameEngine/Source/GameLogic/Object/Behavior/PoisonedBehavior.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ void PoisonedBehavior::startPoisonedEffects( const DamageInfo *damageInfo )
159159
// We are going to take the damage dealt by the original poisoner every so often for a while.
160160
m_poisonDamageAmount = damageInfo->out.m_actualDamageDealt;
161161
#if !RETAIL_COMPATIBLE_CRC
162+
// TheSuperHackers @bugfix Stubbjax 03/09/2025 Allow poison damage to award xp to the poison source.
162163
m_poisonSource = damageInfo->in.m_sourceID;
163164
#endif
164165

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ void PoisonedBehavior::startPoisonedEffects( const DamageInfo *damageInfo )
160160
// We are going to take the damage dealt by the original poisoner every so often for a while.
161161
m_poisonDamageAmount = damageInfo->out.m_actualDamageDealt;
162162
#if !RETAIL_COMPATIBLE_CRC
163+
// TheSuperHackers @bugfix Stubbjax 03/09/2025 Allow poison damage to award xp to the poison source.
163164
m_poisonSource = damageInfo->in.m_sourceID;
164165
#endif
165166

0 commit comments

Comments
 (0)