Core: Fix some warnings
--HG-- branch : trunk
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user