Updated .pdump commands

Deleted (but kept in db) characters cannot be dumped

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-08-02 15:14:47 +02:00
parent b2b9ed4a32
commit b76ceca24f
7 changed files with 60 additions and 23 deletions
+4
View File
@@ -6574,6 +6574,10 @@ bool ChatHandler::HandlePDumpWriteCommand(const char *args)
PSendSysMessage(LANG_FILE_OPEN_FAIL,file);
SetSentErrorMessage(true);
return false;
case DUMP_CHARACTER_DELETED:
PSendSysMessage(LANG_COMMAND_EXPORT_DELETED_CHAR);
SetSentErrorMessage(true);
return false;
default:
PSendSysMessage(LANG_COMMAND_EXPORT_FAILED);
SetSentErrorMessage(true);