Skip to content

Commit 0d63627

Browse files
committed
docs: Add comments
1 parent daf7f87 commit 0d63627

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream/CommandXlat.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4516,6 +4516,7 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
45164516
ExperienceTracker* et;
45174517
Bool isRiderTrainable = true;
45184518

4519+
// TheSuperHackers @bugfix Stubbjax 10/12/2025 Do not allow ranking if the rider is not trainable.
45194520
const ContainModuleInterface* contain = pObject->getContain();
45204521
if (contain && contain->isRiderChangeContain())
45214522
{

GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Collide/CrateCollide/SalvageCrateCollide.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ Bool SalvageCrateCollide::eligibleForLevel( Object *other )
165165
return FALSE;
166166

167167
#if !RETAIL_COMPATIBLE_CRC
168+
// TheSuperHackers @bugfix Stubbjax 10/12/2025 Do not allow ranking if the rider is not trainable.
168169
const ContainModuleInterface* contain = other->getContain();
169170
if (contain && contain->isRiderChangeContain())
170171
{

0 commit comments

Comments
 (0)