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: 27 Jan 2004 22:08:52 +1100

CVSROOT:        /home/strat
Module name:    stratagus
Changes by:      <address@hidden>       04/01/27 22:08:52

Modified files:
        src/network    : commands.c 

Log message:
        Don't Apply Replay settings if we are loading a game

Patches:
Index: stratagus/src/network/commands.c
diff -u stratagus/src/network/commands.c:1.99 
stratagus/src/network/commands.c:1.100
--- stratagus/src/network/commands.c:1.99       Sat Jan 24 10:35:02 2004
+++ stratagus/src/network/commands.c    Tue Jan 27 22:08:51 2004
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//      $Id: commands.c,v 1.99 2004/01/23 23:35:02 wizzard Exp $
+//      $Id: commands.c,v 1.100 2004/01/27 11:08:51 wizzard 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.99 2004/01/23 23:35:02 
wizzard Exp $");
+       replay->Comment3 = strdup("$Id: commands.c,v 1.100 2004/01/27 11:08:51 
wizzard Exp $");
 
        if (GameSettings.NetGameType == SettingsSinglePlayerGame) {
                replay->Type = ReplaySinglePlayer;
@@ -694,7 +694,9 @@
        CurrentReplay = replay;
 
        // Apply CurrentReplay settings.
-       ApplyReplaySettings();
+       if (!SaveGameLoading) {
+               ApplyReplaySettings();
+       }
 
        return 0;
 }




reply via email to

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