File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Contain
Generals/Code/GameEngine/Source/GameLogic/Object/Contain Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -638,7 +638,7 @@ void GarrisonContain::trackTargets( void )
638
638
AIUpdateInterface *ai;
639
639
Object *obj;
640
640
641
- DEBUG_ASSERTCRASH (m_garrisonPointsInitialized, (" garrisonPoints are not inited" ));
641
+ DEBUG_ASSERTCRASH (m_garrisonPointsInitialized || containList. empty () , (" garrisonPoints are not inited" ));
642
642
643
643
for ( ContainedItemsList::const_iterator it = containList.begin (); it != containList.end (); ++it )
644
644
{
Original file line number Diff line number Diff line change @@ -692,7 +692,7 @@ void GarrisonContain::trackTargets( void )
692
692
AIUpdateInterface *ai;
693
693
Object *obj;
694
694
695
- DEBUG_ASSERTCRASH (m_garrisonPointsInitialized, (" garrisonPoints are not inited" ));
695
+ DEBUG_ASSERTCRASH (m_garrisonPointsInitialized || containList. empty () , (" garrisonPoints are not inited" ));
696
696
697
697
for ( ContainedItemsList::const_iterator it = containList.begin (); it != containList.end (); ++it )
698
698
{
You can’t perform that action at this time.
0 commit comments