diff options
author | visagalis <none@none> | 2008-11-15 07:37:41 -0600 |
---|---|---|
committer | visagalis <none@none> | 2008-11-15 07:37:41 -0600 |
commit | 5eda9b1ec7c16820af3293971e63d67d9323c2f9 (patch) | |
tree | 1648d9e007d5b059640648824878af97730d3fc5 | |
parent | 88aac8195f5d42ac42a44cc95fbcccd25adb88e7 (diff) |
[svn] * Partly reverted 242 changes. To fix compile error.
--HG--
branch : trunk
-rw-r--r-- | src/game/Level3.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp index c5d6e9b597a..a2f68a4ce58 100644 --- a/src/game/Level3.cpp +++ b/src/game/Level3.cpp @@ -988,7 +988,11 @@ bool ChatHandler::HandleCooldownCommand(const char* args) { Player* target = getSelectedPlayer(); if(!target) - *target = m_session->GetPlayer(); + { + SendSysMessage(LANG_PLAYER_NOT_FOUND); + SetSentErrorMessage(true); + return false; + } if (!*args) { |