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

This commit is contained in:
kandera
2013-04-03 03:37:56 -04:00
parent b44f7cdd23
commit 9aebfaf722
2 changed files with 3 additions and 1 deletions
@@ -0,0 +1 @@
UPDATE `world`.`command` SET `help`='Syntax: .gobject info [$object_entry]\r \r Query Gameobject information for selected gameobject or given entry.' WHERE `name`='gobject info';
+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);