[7626] Fixed: Typo in InitStatsForLevel Author: rastikzzz

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-07 19:41:25 -05:00
parent 7888cfb417
commit e2333f2adf
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -1765,8 +1765,6 @@ float Map::GetVmapHeight(float x, float y, float z, bool useMaps) const
return vmapHeight;
}
#include "World.h"
uint16 Map::GetAreaFlag(float x, float y, float z) const
{
uint16 areaflag;
+1 -1
View File
@@ -2474,7 +2474,7 @@ void Player::InitStatsForLevel(bool reapplyMods)
SetUInt32Value(PLAYER_FIELD_MOD_TARGET_PHYSICAL_RESISTANCE,0);
for(int i = 0; i < MAX_SPELL_SCHOOL; ++i)
{
SetFloatValue(UNIT_FIELD_POWER_COST_MODIFIER+i,0.0f);
SetUInt32Value(UNIT_FIELD_POWER_COST_MODIFIER+i,0);
SetFloatValue(UNIT_FIELD_POWER_COST_MULTIPLIER+i,0.0f);
}
// Reset no reagent cost field