[7696] Fixed compile warnings Author: AlexDereka

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-22 17:56:59 -05:00
parent e7e03d167e
commit 3a316370b1
4 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -1770,7 +1770,7 @@ class TRINITY_DLL_SPEC Player : public Unit
for (int i=0; i < PLAYER_MAX_BATTLEGROUND_QUEUES; i++)
if (m_bgBattleGroundQueueID[i].bgQueueTypeId == bgQueueTypeId)
return m_bgBattleGroundQueueID[i].invitedToInstance != 0;
return PLAYER_MAX_BATTLEGROUND_QUEUES;
return false;
}
bool InBattleGroundQueueForBattleGroundQueueType(BattleGroundQueueTypeId bgQueueTypeId) const
{