diff --git a/src/include/unittype.h b/src/include/unittype.h index dd14b1423..44543c20f 100644 --- a/src/include/unittype.h +++ b/src/include/unittype.h @@ -228,6 +228,7 @@ extern UnitType*UnitTypeHumanWorkerWithWood; /// Human worker with wood. extern UnitType*UnitTypeOrcWorkerWithWood; /// Orc worker with wood. extern UnitType*UnitTypeHumanFarm; /// Human farm extern UnitType*UnitTypeOrcFarm; /// Orc farm +extern UnitType*UnitTypeCritter; /// Critter unit type pointer /*---------------------------------------------------------------------------- -- Functions diff --git a/src/unit/unittype.cpp b/src/unit/unittype.cpp index c590d7d59..0d46a4159 100644 --- a/src/unit/unittype.cpp +++ b/src/unit/unittype.cpp @@ -61,6 +61,7 @@ global UnitType*UnitTypeHumanWorkerWithWood; /// Human worker with wood. global UnitType*UnitTypeOrcWorkerWithWood; /// Orc worker with wood. global UnitType*UnitTypeHumanFarm; /// Human farm. global UnitType*UnitTypeOrcFarm; /// Orc farm. +global UnitType*UnitTypeCritter; /// Critter unit type pointer /** ** Lookup table for unit-type names @@ -1084,6 +1085,7 @@ global void InitUnitTypes(void) UnitTypeOrcWorkerWithWood=UnitTypeByIdent("unit-peon-with-wood"); UnitTypeHumanFarm=UnitTypeByIdent("unit-farm"); UnitTypeOrcFarm=UnitTypeByIdent("unit-pig-farm"); + UnitTypeCritter=UnitTypeByIdent("unit-critter"); } /**