Core/Unit: Remove unused code as for 4.3.4
By Girip_Dragos
This commit is contained in:
1 parent
5a9ae7eae6
commit
42e74822b8
1 file changed
-4
@@ -5329,10 +5329,6 @@ void Unit::setPowerType(Powers new_powertype)
|
||||
case POWER_ENERGY:
|
||||
SetMaxPower(POWER_ENERGY, uint32(std::ceil(GetCreatePowers(POWER_ENERGY) * powerMultiplier)));
|
||||
break;
|
||||
case POWER_HAPPINESS:
|
||||
SetMaxPower(POWER_HAPPINESS, uint32(std::ceil(GetCreatePowers(POWER_HAPPINESS) * powerMultiplier)));
|
||||
SetPower(POWER_HAPPINESS, uint32(std::ceil(GetCreatePowers(POWER_HAPPINESS) * powerMultiplier)));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user