*Less hacky Furor fix by thenecromancer

--HG--
branch : trunk
This commit is contained in:
maximius committed 2009-09-14 12:59:59 -07:00
1 parent 0e13b35634
commit 10d3d6817d
2 files changed
+4 -31

No files matched your search

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