mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7108] Allow use shift-links to creature entries (from .lookup creature) in .npc add command.
This commit is contained in:
parent
64073f65c0
commit
148b7fd3ab
2 changed files with 3 additions and 3 deletions
|
|
@ -854,7 +854,7 @@ bool ChatHandler::HandleNpcAddCommand(const char* args)
|
|||
{
|
||||
if(!*args)
|
||||
return false;
|
||||
char* charID = strtok((char*)args, " ");
|
||||
char* charID = extractKeyFromLink((char*)args,"Hcreature_entry");
|
||||
if(!charID)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7107"
|
||||
#define REVISION_NR "7108"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue