diff options
author | megamage <none@none> | 2009-01-18 19:01:41 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-18 19:01:41 -0600 |
commit | 40e7dcb599c1e596151356a4cc4d6f641bc1ec05 (patch) | |
tree | 7793b2697c9151f96394f77f1d89375ee092f69a /src/game/Level2.cpp | |
parent | c85c89dc0b0564113e48bfcaf96dc2af55d73bb8 (diff) |
*Update to Mangos 7111.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Level2.cpp')
-rw-r--r-- | src/game/Level2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp index b16d45dd0ab..3105c630157 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -856,8 +856,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, " "); |