stratagus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Stratagus-CVS] stratagus/src/network commands.c


From: address@hidden
Subject: [Stratagus-CVS] stratagus/src/network commands.c
Date: 24 Jan 2004 08:32:54 +1100

CVSROOT:        /home/strat
Module name:    stratagus
Changes by:      <address@hidden>       04/01/24 08:32:53

Modified files:
        src/network    : commands.c 

Log message:
        Set game type

Patches:
Index: stratagus/src/network/commands.c
diff -u stratagus/src/network/commands.c:1.96 
stratagus/src/network/commands.c:1.97
--- stratagus/src/network/commands.c:1.96       Fri Jan 23 17:30:50 2004
+++ stratagus/src/network/commands.c    Sat Jan 24 08:32:53 2004
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//      $Id: commands.c,v 1.96 2004/01/23 06:30:50 wizzard Exp $
+//      $Id: commands.c,v 1.97 2004/01/23 21:32:53 jsalmon3 Exp $
 
 //@{
 
@@ -173,7 +173,7 @@
 
        replay->Comment1 = strdup("Generated by Stratagus Version " VERSION "");
        replay->Comment2 = strdup("Visit http://Stratagus.Org for more 
information");
-       replay->Comment3 = strdup("$Id: commands.c,v 1.96 2004/01/23 06:30:50 
wizzard Exp $");
+       replay->Comment3 = strdup("$Id: commands.c,v 1.97 2004/01/23 21:32:53 
jsalmon3 Exp $");
 
        if (GameSettings.NetGameType == SettingsSinglePlayerGame) {
                replay->Type = ReplaySinglePlayer;
@@ -245,6 +245,7 @@
        GameSettings.NumUnits = CurrentReplay->NumUnits;
        GameSettings.Terrain = CurrentReplay->TileSet;
        TheMap.NoFogOfWar = GameSettings.NoFogOfWar = CurrentReplay->NoFow;
+       GameSettings.GameType = CurrentReplay->GameType;
        FlagRevealMap = GameSettings.RevealMap = CurrentReplay->RevealMap;
        GameSettings.Opponents = CurrentReplay->Opponents;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]