*[FIX] Furor (Energy part) by HiZed

--HG--
branch : trunk
This commit is contained in:
maximius committed 2009-09-14 12:27:19 -07:00
1 parent 49b6e6b037
commit 9a603e8f11
2 files changed
+7 -4

No files matched your search

+2 -1
View File
@@ -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));