Build fleet queues and name captains in the same exact order on both net sides; fixes bugs 1081 and 989

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3570 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2011-02-21 14:41:18 +00:00
parent 3b87633a65
commit 431acfc39d
2 changed files with 6 additions and 2 deletions
+2
View File
@@ -1,4 +1,6 @@
Changes towards version 0.7: Changes towards version 0.7:
- Same captain names are used on both net sides (bug #989) - Alex
- Fixed sync loss in netplay games having duplicate ships (bug #1081) - Alex
- Fixed loading of melee.cfg (bug #1099) - Alex - Fixed loading of melee.cfg (bug #1099) - Alex
- Fixed the 64KB size limitation on key-value files (bug #1112) - Alex - Fixed the 64KB size limitation on key-value files (bug #1112) - Alex
- Update download paths for the new SourceForge File Release system - Michael - Update download paths for the new SourceForge File Release system - Michael
+4 -2
View File
@@ -507,20 +507,22 @@ BuildPickMeleeFrame (void)
void void
FillPickMeleeFrame (MeleeSetup *setup) FillPickMeleeFrame (MeleeSetup *setup)
{ {
COUNT sideI; COUNT i;
CONTEXT OldContext; CONTEXT OldContext;
OldContext = SetContext (OffScreenContext); OldContext = SetContext (OffScreenContext);
for (sideI = 0; sideI < NUM_SIDES; ++sideI) for (i = 0; i < NUM_SIDES; ++i)
{ {
COUNT side; COUNT side;
COUNT sideI;
RECT r; RECT r;
TEXT t; TEXT t;
STAMP s; STAMP s;
UNICODE buf[30]; UNICODE buf[30];
FleetShipIndex index; FleetShipIndex index;
sideI = GetPlayerOrder (i);
side = !sideI; side = !sideI;
s.frame = SetAbsFrameIndex (PickMeleeFrame, side); s.frame = SetAbsFrameIndex (PickMeleeFrame, side);