mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
- bugfix mp: fixed up coop
- bugfix mp: fixed bobby rays code my end git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2158 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -469,6 +469,14 @@ void BeginTeamTurn( UINT8 ubTeam )
|
||||
// skip back to the top, as we are processing another team now.
|
||||
continue;
|
||||
}
|
||||
if ((!(gTacticalStatus.Team[ ubTeam ].bTeamActive))&& is_networked)
|
||||
{
|
||||
// inactive team, skip to the next one
|
||||
ubTeam++;
|
||||
gTacticalStatus.ubCurrentTeam++;
|
||||
// skip back to the top, as we are processing another team now.
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( gTacticalStatus.uiFlags & TURNBASED )
|
||||
{
|
||||
@@ -526,6 +534,7 @@ void BeginTeamTurn( UINT8 ubTeam )
|
||||
AddTopMessage( COMPUTER_TURN_MESSAGE, TeamTurnString[ ubTeam ] );
|
||||
/*if(is_server && !net_turn) send_EndTurn(ubTeam);
|
||||
if(net_turn == true) net_turn = false;*/
|
||||
gTacticalStatus.ubCurrentTeam = ubTeam;
|
||||
if(is_server) send_EndTurn(ubTeam);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user