[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/clone unit.c
From: |
Russell Smith |
Subject: |
[Stratagus-CVS] stratagus/src/clone unit.c |
Date: |
Thu, 13 Nov 2003 16:27:23 -0500 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Russell Smith <address@hidden> 03/11/13 16:27:23
Modified files:
src/clone : unit.c
Log message:
Don't assume units use food in 1 to 1 ratio. Removed DebugCheck
Patches:
Index: stratagus/src/clone/unit.c
diff -u stratagus/src/clone/unit.c:1.335 stratagus/src/clone/unit.c:1.336
--- stratagus/src/clone/unit.c:1.335 Wed Nov 12 15:40:25 2003
+++ stratagus/src/clone/unit.c Thu Nov 13 16:27:21 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: unit.c,v 1.335 2003/11/12 20:40:25 jsalmon3 Exp $
+// $Id: unit.c,v 1.336 2003/11/13 21:27:21 mr-russ Exp $
//@{
@@ -836,7 +836,6 @@
temp = MakeUnitAndPlace(unit->X, unit->Y, type->MustBuildOnTop,
&Players[15]);
temp->Value = unit->Value;
}
- DebugCheck(player->NumFoodUnits > UnitMax);
DebugCheck(player->NumBuildings > UnitMax);
DebugCheck(player->TotalNumUnits > UnitMax);
DebugCheck(player->UnitTypesCount[type->Type] > UnitMax);
@@ -3851,7 +3850,7 @@
int RunStart;
CLprintf(file, "\n;;; -----------------------------------------\n");
- CLprintf(file, ";;; MODULE: units $Id: unit.c,v 1.335 2003/11/12 20:40:25
jsalmon3 Exp $\n\n");
+ CLprintf(file, ";;; MODULE: units $Id: unit.c,v 1.336 2003/11/13 21:27:21
mr-russ Exp $\n\n");
//
// Local variables
- [Stratagus-CVS] stratagus/src/clone unit.c,
Russell Smith <=