mirror of
https://github.com/glest/glest-source.git
synced 2025-08-15 04:43:58 +02:00
- corrected some uninitialized vars identified by cppcheck
This commit is contained in:
Submodule data/glest_game updated: f674bb7461...929c6bac3c
@@ -141,6 +141,8 @@ UnitType::UnitType() : ProducibleType() {
|
||||
size=0;
|
||||
renderSize=0;
|
||||
height=0;
|
||||
burnHeight=0;
|
||||
targetHeight=0;
|
||||
|
||||
addItemToVault(&(this->maxHp),this->maxHp);
|
||||
addItemToVault(&(this->hpRegeneration),this->hpRegeneration);
|
||||
|
@@ -120,6 +120,8 @@ public:
|
||||
moveSpeedIsMultiplier = false;
|
||||
prodSpeed = 0;
|
||||
prodSpeedIsMultiplier = false;
|
||||
attackSpeed = 0;
|
||||
attackSpeedIsMultiplier = false;
|
||||
}
|
||||
virtual ~UpgradeTypeBase() {}
|
||||
|
||||
|
Reference in New Issue
Block a user