Core/Player: Correct val in SMSG_POWER_UPDATE.

This commit is contained in:
Venugh
2011-11-28 17:53:44 +01:00
parent 699574267c
commit e3017f6e2a
+1 -1
View File
@@ -13646,7 +13646,7 @@ void Unit::SetPower(Powers power, int32 val)
data.append(GetPackGUID());
data << uint32(1);//unk
data << uint8(GetPowerIndexByClass(power, getClass()));
data << uint32(val);
data << int32(val);
SendMessageToSet(&data, GetTypeId() == TYPEID_PLAYER ? true : false);
// group update