Core: Fix some warnings

--HG--
branch : trunk
This commit is contained in:
Spp committed 2010-11-22 10:10:46 +01:00
1 parent ea9e88a48c
commit 6b5ff1ca25
5 files changed
+9 -7

No files matched your search

@@ -582,10 +582,12 @@ public:
uint32 lootId = 0;
if (!*args)
{
if (WorldObject * obj = handler->getSelectedObject())
entry = obj->GetEntry();
else
entry = atoi((char*)args);
}
GameObjectInfo const* goinfo = sObjectMgr.GetGameObjectInfo(entry);