diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-27 17:56:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-27 17:56:43 +0300 |
commit | eee2f72b047262cbb6478c67f2e5293a85ce79e4 (patch) | |
tree | a5924ee55bd5570825dccd0a344dd9f986157e12 /src/commands.h | |
parent | e068a57abf67381e4f58f90e40af3be6b386e240 (diff) | |
download | mv-eee2f72b047262cbb6478c67f2e5293a85ce79e4.tar.gz mv-eee2f72b047262cbb6478c67f2e5293a85ce79e4.tar.bz2 mv-eee2f72b047262cbb6478c67f2e5293a85ce79e4.tar.xz mv-eee2f72b047262cbb6478c67f2e5293a85ce79e4.zip |
allow to owner talk from own pet.
New chat command: /talkpet text
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h index 851789282..dca935226 100644 --- a/src/commands.h +++ b/src/commands.h @@ -127,6 +127,7 @@ namespace Commands decHandler(testParticle); decHandler(createItems); decHandler(talkRaw); + decHandler(talkPet); void replaceVars(std::string &str); } // namespace Commands @@ -221,6 +222,7 @@ enum COMMAND_TEST_PARTICLE, COMMAND_CREATEITEMS, COMMAND_TALKRAW, + COMMAND_TALKPET, COMMAND_HACK, END_COMMANDS }; @@ -315,6 +317,7 @@ static const CommandInfo commands[] = {"testparticle", &Commands::testParticle, -1, true}, {"createitems", &Commands::createItems, -1, false}, {"talkraw", &Commands::talkRaw, -1, true}, + {"talkpet", &Commands::talkPet, -1, true}, {"hack", &Commands::hack, -1, true} }; |