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 16:15:07 +02:00
parent a1aff93761
commit 8962863723
2 changed files with 3 additions and 1 deletions

View file

@ -5,6 +5,8 @@ D2X-Rebirth Changelog
INSTALL.txt, RELEASE-NOTES.txt: Updated docs and fixed some typos
main/net_ipx.c, main/net_udp.c: Rearranged code to check for netgame-closed flag and refuse-players flag so they are updated correctly if another part of the code changes the menu item without activating it
main/automap.c, main/menu.c, main/playsave.c, main/playsave.h: Made Automap Free Flight controls an optional feature which can be set in MISC OPTIONS
main/net_udp.c: Let players launch 1-player team-based games in RELEASE build as well
main/net_udp.c: 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
20110519
--------

View file

@ -3717,7 +3717,7 @@ abort:
}
#endif
#ifdef RELEASE
#if 0 //def RELEASE
if ( (Netgame.gamemode == NETGAME_TEAM_ANARCHY || Netgame.gamemode == NETGAME_CAPTURE_FLAG || Netgame.gamemode == NETGAME_TEAM_HOARD) && (N_players < 2) )
{
nm_messagebox(TXT_ERROR, 1, TXT_OK, "You must select at least two\nplayers to start a team game" );