Core: Fix warnings

--HG--
branch : trunk
This commit is contained in:
Spp
2010-10-25 11:25:42 +02:00
parent 4acf6012a8
commit 739f336618
6 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -7934,7 +7934,7 @@ void ObjectMgr::LoadGameObjectForQuests()
}
case GAMEOBJECT_TYPE_GENERIC:
{
if (goInfo->_generic.questID) //quests objects
if (goInfo->_generic.questID > 0) //quests objects
{
mGameObjectForQuestSet.insert(go_entry);
count++;
@@ -7943,7 +7943,7 @@ void ObjectMgr::LoadGameObjectForQuests()
}
case GAMEOBJECT_TYPE_GOOBER:
{
if (goInfo->goober.questId) //quests objects
if (goInfo->goober.questId > 0) //quests objects
{
mGameObjectForQuestSet.insert(go_entry);
count++;