[9252] Fixed crash in result typo in arena points loading.

Also small cleanups in PLAYER_FIELD_WATCHED_FACTION_INDEX use.
This commit is contained in:
VladimirMangos 2010-01-24 19:48:54 +03:00
parent f7b8f09bac
commit e3978a908c
4 changed files with 10 additions and 8 deletions

View file

@ -4373,7 +4373,7 @@ static bool HandleResetStatsOrLevelHelper(Player* player)
player->SetUInt32Value(UNIT_FIELD_FLAGS, UNIT_FLAG_PVP_ATTACKABLE);
//-1 is default value
player->SetUInt32Value(PLAYER_FIELD_WATCHED_FACTION_INDEX, uint32(-1));
player->SetInt32Value(PLAYER_FIELD_WATCHED_FACTION_INDEX, -1);
//player->SetUInt32Value(PLAYER_FIELD_BYTES, 0xEEE00000 );
return true;