DB/Commands: fix the use of gobject info when used with a game object entry
This commit is contained in:
1 parent
b44f7cdd23
commit
9aebfaf722
2 files changed
+3
-1
No files matched your search
@@ -592,7 +592,8 @@ public:
|
||||
entry = object->GetEntry();
|
||||
else
|
||||
entry = atoi((char*)args);
|
||||
}
|
||||
} else
|
||||
entry = atoi((char*)args);
|
||||
|
||||
GameObjectTemplate const* gameObjectInfo = sObjectMgr->GetGameObjectTemplate(entry);
|
||||
|
||||
|
||||
Reference in new issue
Block a user