diff options
author | maximius <none@none> | 2009-09-14 12:59:59 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-09-14 12:59:59 -0700 |
commit | 10d3d6817d4f1dda0a27e3350658463afb9c727b (patch) | |
tree | fbce3d766b1f73c72f97a3dddab1b00d59617784 /src/game/Unit.cpp | |
parent | 0e13b35634fec38ba28e4db49b1c5b0c53e48d29 (diff) |
*Less hacky Furor fix by thenecromancer
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index f3371a1ebb4..dac9f91a16e 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7917,8 +7917,7 @@ void Unit::setPowerType(Powers new_powertype) break; case POWER_ENERGY: SetMaxPower(POWER_ENERGY,GetCreatePowers(POWER_ENERGY)); - if(getClass() != CLASS_DRUID) - SetPower( POWER_ENERGY,0); + SetPower( POWER_ENERGY,0); break; case POWER_HAPPINESS: SetMaxPower(POWER_HAPPINESS,GetCreatePowers(POWER_HAPPINESS)); |