[Top][All Lists]
[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: |
23 Jan 2004 17:30:51 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 04/01/23 17:30:51
Modified files:
src/network : commands.c
Log message:
Possible signed/unsigned fix for Replay Desync, needs testing
Patches:
Index: stratagus/src/network/commands.c
diff -u stratagus/src/network/commands.c:1.95
stratagus/src/network/commands.c:1.96
--- stratagus/src/network/commands.c:1.95 Fri Jan 23 16:14:48 2004
+++ stratagus/src/network/commands.c Fri Jan 23 17:30:50 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: commands.c,v 1.95 2004/01/23 05:14:48 jsalmon3 Exp $
+// $Id: commands.c,v 1.96 2004/01/23 06:30:50 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.95 2004/01/23 05:14:48
jsalmon3 Exp $");
+ replay->Comment3 = strdup("$Id: commands.c,v 1.96 2004/01/23 06:30:50
wizzard Exp $");
if (GameSettings.NetGameType == SettingsSinglePlayerGame) {
replay->Type = ReplaySinglePlayer;
@@ -494,7 +494,7 @@
//
log->Num = num;
- log->SyncRandSeed = (signed)SyncRandSeed;
+ log->SyncRandSeed = SyncRandSeed;
// Append it to ReplayLog list
AppendLog(log, LogFile);
@@ -816,9 +816,9 @@
NotifyPlayer(ThisPlayer, NotifyYellow, 0, 0, "No sync
info for this replay !");
} else {
NotifyPlayer(ThisPlayer, NotifyYellow, 0, 0, "Replay
got out of sync (%lu)! ", GameCycle);
- ReplayStep = 0;
- NextLogCycle = ~0UL;
- return;
+ // ReplayStep = 0;
+ // NextLogCycle = ~0UL;
+ // return;
}
#else
NotifyPlayer(ThisPlayer, NotifyYellow, 0, 0, "Replay
got out of sync !");
- [Stratagus-CVS] stratagus/src/network commands.c, address@hidden, 2004/01/01
- [Stratagus-CVS] stratagus/src/network commands.c, address@hidden, 2004/01/02
- [Stratagus-CVS] stratagus/src/network commands.c, address@hidden, 2004/01/23
- [Stratagus-CVS] stratagus/src/network commands.c,
address@hidden <=
- [Stratagus-CVS] stratagus/src/network commands.c, address@hidden, 2004/01/23
- [Stratagus-CVS] stratagus/src/network commands.c, address@hidden, 2004/01/23
- [Stratagus-CVS] stratagus/src/network commands.c, address@hidden, 2004/01/27
- [Stratagus-CVS] stratagus/src/network commands.c, address@hidden, 2004/01/29
- [Stratagus-CVS] stratagus/src/network commands.c, address@hidden, 2004/01/31