Don't add UPnP redirects in single player skirmish.

Closes #1174.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8647 4a71c877-e1ca-e34f-864e-861f7616d084
master
Christian Ohm 2009-12-08 22:19:18 +00:00 committed by Git SVN Gateway
parent cd3ce412a3
commit d808f72d8e
1 changed files with 4 additions and 1 deletions

View File

@ -3243,7 +3243,10 @@ BOOL NEThostGame(const char* SessionName, const char* PlayerName,
mapDownloadProgress = 100; mapDownloadProgress = 100;
netPlayersUpdated = true; netPlayersUpdated = true;
NETaddRedirects(); if (NetPlay.bComms)
{
NETaddRedirects();
}
NET_InitPlayers(); NET_InitPlayers();
NetPlay.maxPlayers = MAX_PLAYERS; NetPlay.maxPlayers = MAX_PLAYERS;
if(!NetPlay.bComms) if(!NetPlay.bComms)