From 9a603e8f11a5ca9afc2d0bd45bfb7bc78e0a2715 Mon Sep 17 00:00:00 2001 From: maximius Date: Mon, 14 Sep 2009 12:27:19 -0700 Subject: *[FIX] Furor (Energy part) by HiZed --HG-- branch : trunk --- src/game/Unit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 607018cd8cb..6424d918983 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7917,7 +7917,8 @@ void Unit::setPowerType(Powers new_powertype) break; case POWER_ENERGY: SetMaxPower(POWER_ENERGY,GetCreatePowers(POWER_ENERGY)); - SetPower( POWER_ENERGY,0); + if(getClass() != CLASS_DRUID) + SetPower( POWER_ENERGY,0); break; case POWER_HAPPINESS: SetMaxPower(POWER_HAPPINESS,GetCreatePowers(POWER_HAPPINESS)); -- cgit v1.2.3