Better comment.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2937 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Meep-Eep
2008-03-01 21:02:18 +00:00
parent bcfb97dfff
commit 5e13669045
+6 -4
View File
@@ -286,10 +286,12 @@ BuildGroups (void)
Index = GET_GAME_STATE (UTWIG_SUPOX_MISSION); Index = GET_GAME_STATE (UTWIG_SUPOX_MISSION);
if (Index > 1 && Index < 5) if (Index > 1 && Index < 5)
{ {
// XXX: The BuildGroups function is only called when there is no // When the Utwig and Supox are on their mission, there won't be
// existing battle group for the system (right?). Is it even // a new battle group generated for the system.
// possible to start the Utwig/Supox mission without visiting their // XXX: An old battle group might still exist, in which case this
// home systems? // function is never even called, and the old group would be
// reused. This is probably not the intent, which would make this
// a BUG.
HomeWorld[UTWIG_SHIP] = 0; HomeWorld[UTWIG_SHIP] = 0;
HomeWorld[SUPOX_SHIP] = 0; HomeWorld[SUPOX_SHIP] = 0;
} }