Core: Clean up some more silly warnings

This commit is contained in:
click
2011-05-09 03:37:31 +02:00
parent b5fcd880e3
commit eff3c1f98a
2 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -439,7 +439,7 @@ bool Group::RemoveMember(const uint64 &guid, const RemoveMethod &method /*= GROU
CharacterDatabase.PExecute("DELETE FROM group_member WHERE memberGuid=%u", GUID_LOPART(guid));
// Reevaluate group enchanter if the leaving player had enchanting skill or the player is offline
if (player && player->GetSkillValue(SKILL_ENCHANTING) || !player)
if ((player && player->GetSkillValue(SKILL_ENCHANTING)) || !player)
ResetMaxEnchantingLevel();
// Remove player from loot rolls