From d4328e3b005368914a8602eac998e3d170553c90 Mon Sep 17 00:00:00 2001 From: johns <> Date: Sun, 23 Apr 2000 22:18:36 +0000 Subject: [PATCH] Small correction for new network code --- src/stratagus/player.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stratagus/player.cpp b/src/stratagus/player.cpp index ef3bad95a..af670ebe7 100644 --- a/src/stratagus/player.cpp +++ b/src/stratagus/player.cpp @@ -33,6 +33,7 @@ #include "player.h" #include "unit.h" #include "ai.h" +#include "network.h" /*---------------------------------------------------------------------------- -- Variables @@ -104,7 +105,7 @@ global void CreatePlayer(char* name,int type) if( type==PlayerHuman ) { if( !ThisPlayer ) { ThisPlayer=player; - } else if( !NetPlayers ) { + } else if( !NetPlayers && !NetworkArg ) { // FIXME: only for single players type=PlayerComputer; }