stratagus-cvs
[Top][All Lists]
Advanced

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

[Stratagus-CVS] stratagus/src/action actions.c


From: Russell Smith
Subject: [Stratagus-CVS] stratagus/src/action actions.c
Date: Tue, 02 Sep 2003 04:09:19 -0400

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     Russell Smith <address@hidden>  03/09/02 04:09:19

Modified files:
        src/action     : actions.c 

Log message:
        Fixed bug when Actions log turned on

Patches:
Index: stratagus/src/action/actions.c
diff -u stratagus/src/action/actions.c:1.90 stratagus/src/action/actions.c:1.91
--- stratagus/src/action/actions.c:1.90 Tue Sep  2 00:33:45 2003
+++ stratagus/src/action/actions.c      Tue Sep  2 04:09:19 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: actions.c,v 1.90 2003/09/02 04:33:45 mr-russ Exp $
+//     $Id: actions.c,v 1.91 2003/09/02 08:09:19 mr-russ Exp $
 
 //@{
 
@@ -433,7 +433,7 @@
            UnitNumber(unit),unit->Type ? unit->Type->Ident : "unit-killed",
                unit->State,unit->SubAction,
                unit->Orders[0].Action,
-               unit->Player->Player,unit->Refs,SyncRandSeed);
+               unit->Player ? unit->Player->Player : 
-1,unit->Refs,SyncRandSeed);
                
        // SaveUnit(unit,logf);
        fflush(NULL);




reply via email to

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