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: 2 Jan 2004 10:46:41 +1100

CVSROOT:        /home/strat
Module name:    stratagus
Changes by:      <address@hidden>       04/01/02 10:46:41

Modified files:
        src/network    : commands.c 

Log message:
        Comparison Error - GameCycle is Unsigned in LUA

Patches:
Index: stratagus/src/network/commands.c
diff -u stratagus/src/network/commands.c:1.86 
stratagus/src/network/commands.c:1.87
--- stratagus/src/network/commands.c:1.86       Fri Jan  2 08:24:10 2004
+++ stratagus/src/network/commands.c    Fri Jan  2 10:46:40 2004
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: commands.c,v 1.86 2004/01/01 21:24:10 jsalmon3 Exp $
+//     $Id: commands.c,v 1.87 2004/01/01 23:46:40 wizzard Exp $
 
 //@{
 
@@ -174,7 +174,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.86 2004/01/01 21:24:10 
jsalmon3 Exp $");
+       replay->Comment3 = strdup("$Id: commands.c,v 1.87 2004/01/01 23:46:40 
wizzard Exp $");
 
        if (GameSettings.NetGameType == SettingsSinglePlayerGame) {
                replay->Type = ReplaySinglePlayer;
@@ -810,7 +810,7 @@
 
        DebugCheck(unit != -1 && strcmp(ReplayStep->UnitIdent, 
UnitSlots[unit]->Type->Ident));
 
-       if (((signed)SyncRandSeed) != ReplayStep->SyncRandSeed) {
+       if (SyncRandSeed != ReplayStep->SyncRandSeed) {
 #ifdef DEBUG
                if (!ReplayStep->SyncRandSeed) {
                        // Replay without the 'sync info




reply via email to

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