[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/network commands.c
From: |
Jimmy Salmon |
Subject: |
[Stratagus-CVS] stratagus/src/network commands.c |
Date: |
Sun, 30 Nov 2003 18:29:12 -0500 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Jimmy Salmon <address@hidden> 03/11/30 18:29:12
Modified files:
src/network : commands.c
Log message:
Fixed DebugCheck
Patches:
Index: stratagus/src/network/commands.c
diff -u stratagus/src/network/commands.c:1.81
stratagus/src/network/commands.c:1.82
--- stratagus/src/network/commands.c:1.81 Sun Nov 30 18:21:33 2003
+++ stratagus/src/network/commands.c Sun Nov 30 18:29:12 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: commands.c,v 1.81 2003/11/30 23:21:33 nehalmistry Exp $
+// $Id: commands.c,v 1.82 2003/11/30 23:29:12 jsalmon3 Exp $
//@{
@@ -240,7 +240,7 @@
replay->Comment1 = strdup("Generated by Stratagus Version " VERSION
"\"\n");
replay->Comment2 = strdup("Visit http://Stratagus.Org for more
information\"\n");
- replay->Comment3 = strdup("$Id: commands.c,v 1.81 2003/11/30 23:21:33
nehalmistry Exp $");
+ replay->Comment3 = strdup("$Id: commands.c,v 1.82 2003/11/30 23:29:12
jsalmon3 Exp $");
if (GameSettings.NetGameType == SettingsSinglePlayerGame) {
replay->Type = ReplaySinglePlayer;
@@ -682,6 +682,8 @@
val = ReplayStep->Value;
num = ReplayStep->Num;
+ DebugCheck(unit != -1 && strcmp(ReplayStep->UnitIdent,
UnitSlots[unit]->Type->Ident));
+
if (((signed)SyncRandSeed) != ReplayStep->SyncRandSeed) {
#ifdef DEBUG
if (!ReplayStep->SyncRandSeed) {