stratagus-cvs
[Top][All Lists]
Advanced

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

[Stratagus-CVS] stratagus/src/unit unit.c


From: address@hidden
Subject: [Stratagus-CVS] stratagus/src/unit unit.c
Date: 25 Jan 2004 15:50:15 +1100

CVSROOT:        /home/strat
Module name:    stratagus
Changes by:      <address@hidden>       04/01/25 15:50:15

Modified files:
        src/unit       : unit.c 

Log message:
        Use PlayerNumNeutral

Patches:
Index: stratagus/src/unit/unit.c
diff -u stratagus/src/unit/unit.c:1.374 stratagus/src/unit/unit.c:1.375
--- stratagus/src/unit/unit.c:1.374     Sun Jan 25 15:47:27 2004
+++ stratagus/src/unit/unit.c   Sun Jan 25 15:50:14 2004
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//      $Id: unit.c,v 1.374 2004/01/25 04:47:27 wizzard Exp $
+//      $Id: unit.c,v 1.375 2004/01/25 04:50:14 wizzard Exp $
 
 //@{
 
@@ -780,7 +780,7 @@
 
        // Destroy resource-platform, must re-make resource patch.
        if (type->MustBuildOnTop && unit->Value > 0) {
-               temp = MakeUnitAndPlace(unit->X, unit->Y, type->MustBuildOnTop, 
&Players[PlayerMax - 1]);
+               temp = MakeUnitAndPlace(unit->X, unit->Y, type->MustBuildOnTop, 
&Players[PlayerNumNeutral]);
                temp->Value = unit->Value;
        }
        DebugCheck(player->NumBuildings > UnitMax);
@@ -3766,7 +3766,7 @@
        int j;
 
        CLprintf(file, "\n--- -----------------------------------------\n");
-       CLprintf(file, "--- MODULE: units $Id: unit.c,v 1.374 2004/01/25 
04:47:27 wizzard Exp $\n\n");
+       CLprintf(file, "--- MODULE: units $Id: unit.c,v 1.375 2004/01/25 
04:50:14 wizzard Exp $\n\n");
 
 #if 0
        //




reply via email to

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