aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level1.cpp
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-07-26 02:00:35 +0200
committerKudlaty <none@none>2009-07-26 02:00:35 +0200
commit3c046356942193756987dc646b30dcf408a1630f (patch)
tree2b2fecd0d40ba8f82584100e7e3aa39e4b4be65c /src/game/Level1.cpp
parent9f1118cf0a3c6b08fc6477c1f009187a4b1270af (diff)
Fix build on windows.
Fix command ticket viewname - thx Deadlyskunk for point this fix setlink command group, add missing commands to db - patch by XTElite1 --HG-- branch : trunk
Diffstat (limited to 'src/game/Level1.cpp')
-rw-r--r--src/game/Level1.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/Level1.cpp b/src/game/Level1.cpp
index 8e234057f94..6c344b29903 100644
--- a/src/game/Level1.cpp
+++ b/src/game/Level1.cpp
@@ -400,7 +400,10 @@ bool ChatHandler::HandleGMTicketGetByNameCommand(const char* args)
if(!*args)
return false;
- Player *plr = objmgr.GetPlayer(args);
+ std::string name = (char*)args;
+ normalizePlayerName(name);
+
+ Player *plr = objmgr.GetPlayer(name.c_str());
if(!plr)
{
SendSysMessage(LANG_NO_PLAYERS_FOUND);