Share

Star Control: TimeWarp

Tracker: Bugs

5 Melee: Fleet sort bug plus fix - ID: 1844640
Last Update: Tracker Item Submitted ( nobody )

When you first start melee against the computer, your fleet is in a
different order than after your first battle. The fleet gets sorted to
alphabetical after the first ship battle finishes.

The fix is to sort the fleet at the start as well. Details follow.

mmain.cpp
NormalGame::init_players

if ( player[i]->islocal() )
{
player[i]->fleet->load("fleets.ini", sect);
}

SHOULD BE

if ( player[i]->islocal() )
{
player[i]->fleet->load("fleets.ini", sect);
player[i]->fleet->Sort();
}


AND
if ( hostcomputer() )
{
player[i]->fleet->load("fleets.ini", sect);
}

SHOULD BE

if ( hostcomputer() )
{
player[i]->fleet->load("fleets.ini", sect);
player[i]->fleet->Sort();
}

-Winkrometer (same author as 1842210 Numerous bugs plus fixes)


Nobody/Anonymous ( nobody ) - 2007-12-05 05:25

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.