stratagus-cvs
[Top][All Lists]
Advanced

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

[Stratagus-CVS] stratagus doc/ChangeLog.html src/clone/unit.c


From: Russell Smith
Subject: [Stratagus-CVS] stratagus doc/ChangeLog.html src/clone/unit.c
Date: Mon, 10 Nov 2003 04:24:07 -0500

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     Russell Smith <address@hidden>  03/11/10 04:24:07

Modified files:
        doc            : ChangeLog.html 
        src/clone      : unit.c 

Log message:
        Fixed Bug #6391: Infinite loop in UpdateMinimap()

Patches:
Index: stratagus/doc/ChangeLog.html
diff -u stratagus/doc/ChangeLog.html:1.571 stratagus/doc/ChangeLog.html:1.572
--- stratagus/doc/ChangeLog.html:1.571  Sun Nov  9 17:13:56 2003
+++ stratagus/doc/ChangeLog.html        Mon Nov 10 04:24:05 2003
@@ -2,7 +2,7 @@
 <html>
 <head>
 <!--
-----   $Id: ChangeLog.html,v 1.571 2003/11/09 22:13:56 n0body Exp $
+----   $Id: ChangeLog.html,v 1.572 2003/11/10 09:24:05 mr-russ Exp $
 
 ----   (c) Copyright 1998-2003 by Lutz Sammer
 
@@ -36,6 +36,7 @@
 <li>Future 2.00 Release<p>
     <ul>
     <li>++
+    <li>Fixed Bug #6391: Infinite loop in UpdateMinimap() (from Russell Smith).
     <li>Major clean-up in checking goals that disappear and unit reference 
counting (from Crestez Leonard).
     <li>Fixed Bug #5992: Little undesirable effects with invisibility and 
flameShield spell (from Crestez Leonard).
     <li>Fixed Bug #6443: Can't Load Selections from Save Game (from Russell 
Smith).
Index: stratagus/src/clone/unit.c
diff -u stratagus/src/clone/unit.c:1.330 stratagus/src/clone/unit.c:1.331
--- stratagus/src/clone/unit.c:1.330    Sun Nov  9 17:13:57 2003
+++ stratagus/src/clone/unit.c  Mon Nov 10 04:24:06 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: unit.c,v 1.330 2003/11/09 22:13:57 n0body Exp $
+//     $Id: unit.c,v 1.331 2003/11/10 09:24:06 mr-russ Exp $
 
 //@{
 
@@ -267,6 +267,7 @@
     // memory.
     //
     *ReleasedTail = unit;
+    unit->Next = NULL;         // Ensure unit does not refer to another.
     ReleasedTail = &unit->Next;
     unit->Refs = GameCycle + NetworkMaxLag;    // could be reuse after this 
time
 #ifdef DEBUG
@@ -3772,7 +3773,7 @@
     int RunStart;
 
     CLprintf(file, "\n;;; -----------------------------------------\n");
-    CLprintf(file, ";;; MODULE: units $Id: unit.c,v 1.330 2003/11/09 22:13:57 
n0body Exp $\n\n");
+    CLprintf(file, ";;; MODULE: units $Id: unit.c,v 1.331 2003/11/10 09:24:06 
mr-russ Exp $\n\n");
 
     //
     // Local variables




reply via email to

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