Actually removed berserker type from code, it was unused
This commit is contained in:
parent
ecdb1d3e62
commit
f0bff5fb92
2 changed files with 0 additions and 4 deletions
|
@ -846,7 +846,6 @@ extern int NumUnitTypes; /// Number of unit-types made
|
|||
extern UnitType*UnitTypeHumanWall; /// Human wall
|
||||
extern UnitType*UnitTypeOrcWall; /// Orc wall
|
||||
extern UnitType*UnitTypeCritter; /// Critter unit-type pointer
|
||||
extern UnitType*UnitTypeBerserker; /// Berserker for berserker regeneration
|
||||
|
||||
extern char** UnitTypeWcNames; /// Mapping wc-number 2 symbol
|
||||
|
||||
|
|
|
@ -79,7 +79,6 @@ global int NumUnitTypes; /// number of unit-types made
|
|||
global UnitType*UnitTypeHumanWall; /// Human wall
|
||||
global UnitType*UnitTypeOrcWall; /// Orc wall
|
||||
global UnitType*UnitTypeCritter; /// Critter unit type pointer
|
||||
global UnitType*UnitTypeBerserker; /// Berserker for berserker regeneration
|
||||
|
||||
/**
|
||||
** Mapping of W*rCr*ft number to our internal unit-type symbol.
|
||||
|
@ -1273,7 +1272,6 @@ global void InitUnitTypes(int reset_player_stats)
|
|||
UnitTypeHumanWall=UnitTypeByIdent("unit-human-wall");
|
||||
UnitTypeOrcWall=UnitTypeByIdent("unit-orc-wall");
|
||||
UnitTypeCritter=UnitTypeByIdent("unit-critter");
|
||||
UnitTypeBerserker=UnitTypeByIdent("unit-berserker");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1537,7 +1535,6 @@ global void CleanUnitTypes(void)
|
|||
UnitTypeHumanWall=NULL;
|
||||
UnitTypeOrcWall=NULL;
|
||||
UnitTypeCritter=NULL;
|
||||
UnitTypeBerserker=NULL;
|
||||
}
|
||||
|
||||
//@}
|
||||
|
|
Loading…
Add table
Reference in a new issue