Making D1X- and D2X-Rebirth more similar in behavior of which player limit is needed to start team-based game in both RELEASE and DEBUG builds

This commit is contained in:
zicodxx 2011-05-20 17:10:05 +02:00
parent bfad1aac59
commit 3791862055

View file

@ -3437,6 +3437,7 @@ menu:
if (choice == opt-1)
{
#if 0 // no need to wait for other players
if ((opt-2-opt_team_b < 2) || (opt_team_b == 1))
{
nm_messagebox(NULL, 1, TXT_OK, TXT_TEAM_MUST_ONE);
@ -3444,7 +3445,7 @@ menu:
goto menu;
#endif
}
#endif
Netgame.team_vector = team_vector;
strcpy(Netgame.team_name[0], team_names[0]);
strcpy(Netgame.team_name[1], team_names[1]);