mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Misc: Fix issues reported by static analysis
(cherry picked from commit 33dace231c)
This commit is contained in:
@@ -568,6 +568,7 @@ void PoolMgr::LoadFromDB()
|
||||
}
|
||||
|
||||
GameObjectTemplate const* goinfo = sObjectMgr->GetGameObjectTemplate(data->id);
|
||||
ASSERT(goinfo);
|
||||
if (goinfo->type != GAMEOBJECT_TYPE_CHEST &&
|
||||
goinfo->type != GAMEOBJECT_TYPE_FISHINGHOLE &&
|
||||
goinfo->type != GAMEOBJECT_TYPE_GATHERING_NODE &&
|
||||
|
||||
Reference in New Issue
Block a user