DB/Commands: fix the use of gobject info when used with a game object entry

This commit is contained in:
kandera committed 2013-04-03 03:37:56 -04:00
1 parent b44f7cdd23
commit 9aebfaf722
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -592,7 +592,8 @@ public:
entry = object->GetEntry();
else
entry = atoi((char*)args);
}
} else
entry = atoi((char*)args);
GameObjectTemplate const* gameObjectInfo = sObjectMgr->GetGameObjectTemplate(entry);