Another bug.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1463 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -168,7 +168,11 @@ BuildGroups (void)
|
|||||||
|| (HIWORD (rand_val) % (i + BestPercent)) < i))
|
|| (HIWORD (rand_val) % (i + BestPercent)) < i))
|
||||||
{
|
{
|
||||||
if (TemplatePtr->ShipInfo.actual_strength == (COUNT)~0)
|
if (TemplatePtr->ShipInfo.actual_strength == (COUNT)~0)
|
||||||
|
{
|
||||||
|
// XXX: BUG: This code is never reached.
|
||||||
|
// When actual_strength == ~0, i is always 0.
|
||||||
i = 4;
|
i = 4;
|
||||||
|
}
|
||||||
|
|
||||||
BestPercent = i;
|
BestPercent = i;
|
||||||
BestIndex = Index;
|
BestIndex = Index;
|
||||||
|
|||||||
Reference in New Issue
Block a user