Commit:     2590c196f67dbc4b341f50956ca432e6069e50a7

Trac URL:   
http://developer.wz2100.net/changeset/2590c196f67dbc4b341f50956ca432e6069e50a7

Author:     Cyp <[email protected]>
Date:       Tue Oct 26 20:20:02 2010 +0200

Fix host being unable to ever research any topic which an AI player has begun 
research on.

Affected single-player, too.

Closes ticket:2264.

 src/multiplay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/multiplay.c b/src/multiplay.c
index 442c0c4..02084e1 100644
--- a/src/multiplay.c
+++ b/src/multiplay.c
@@ -969,7 +969,7 @@ BOOL sendResearchStatus(STRUCTURE *psBuilding, uint32_t 
index, uint8_t player, B
        NETend();
 
        // Tell UI to remove from the list of available research.
-       MakeResearchStartedPending(asPlayerResList[selectedPlayer] + index);
+       MakeResearchStartedPending(asPlayerResList[player] + index);
 
        return true;
 }


-------------------------


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to