[7108] Allow use shift-links to creature entries (from .lookup creature) in .npc add command.

This commit is contained in:
VladimirMangos 2009-01-18 22:15:14 +03:00
parent 64073f65c0
commit 148b7fd3ab
2 changed files with 3 additions and 3 deletions

View file

@ -854,8 +854,8 @@ bool ChatHandler::HandleNpcAddCommand(const char* args)
{
if(!*args)
return false;
char* charID = strtok((char*)args, " ");
if (!charID)
char* charID = extractKeyFromLink((char*)args,"Hcreature_entry");
if(!charID)
return false;
char* team = strtok(NULL, " ");