Skip to content

Commit 388af12

Browse files
committed
docs: Add comments
1 parent ea8f165 commit 388af12

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Generals/Code/GameEngine/Source/GameLogic/Object/Contain/TunnelContain.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ void TunnelContain::onRemoving( Object *obj )
172172
obj->getDrawable()->setDrawableHidden( false );
173173
}
174174
#else
175+
// TheSuperHackers @bugfix Now correctly adds the objects to the world without issues with shrouded portable structures.
175176
obj->setPosition(getObject()->getPosition());
176177
obj->setSafeOcclusionFrame(TheGameLogic->getFrame() + obj->getTemplate()->getOcclusionDelay());
177178
addOrRemoveObjFromWorld(obj, TRUE);

GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Contain/TunnelContain.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ void TunnelContain::onRemoving( Object *obj )
249249
obj->getDrawable()->setDrawableHidden( false );
250250
}
251251
#else
252+
// TheSuperHackers @bugfix Now correctly adds the objects to the world without issues with shrouded portable structures.
252253
obj->setPosition(getObject()->getPosition());
253254
obj->setSafeOcclusionFrame(TheGameLogic->getFrame() + obj->getTemplate()->getOcclusionDelay());
254255
addOrRemoveObjFromWorld(obj, TRUE);

0 commit comments

Comments
 (0)