Modify

Ticket #169 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

It is possible to start a 1v1 with both players in the same team after playing 2v2

Reported by: gerard_ Owned by:
Priority: normal Milestone:
Component: Engine: Networking Version: git/master
Keywords: Cc: Giel
Blocked By: Blocking:
Operating System: All/Non-Specific

Description

You play a 2v2 with your trusty ally AI nr. 1. You quit to the main menu to start an 1v1. The first AI player will still be assigned to the same team 0 as you are, and it is possible to start the game with no enemies on the map. This results in "you are victorious" in a few seconds.

Giel says: look for a backwards counting for loop in one of the multi*.c files

Attachments

initTeamfix.patch (1.2 KB) - added by Buginator 3 years ago.

Change History

comment:1 Changed 3 years ago by Buginator

Here is a fix for this, and I didn't take Giel's advice, since the problem is that the array(s) were never cleared.

Changed 3 years ago by Buginator

comment:2 Changed 3 years ago by Buginator

  • Status changed from new to closed
  • Resolution set to fixed

(In [6644]) Fixes #169

Reset team status on new map picks.

View

Add a comment

Provide an email address (will not be publicly visible) in the Author field or register an account (uses your forum account).

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.