[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,7 +854,7 @@ bool ChatHandler::HandleNpcAddCommand(const char* args)
{ {
if(!*args) if(!*args)
return false; return false;
char* charID = strtok((char*)args, " "); char* charID = extractKeyFromLink((char*)args,"Hcreature_entry");
if(!charID) if(!charID)
return false; return false;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "7107" #define REVISION_NR "7108"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__