summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-27 17:56:43 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-27 17:56:43 +0300
commiteee2f72b047262cbb6478c67f2e5293a85ce79e4 (patch)
treea5924ee55bd5570825dccd0a344dd9f986157e12 /src/commands.h
parente068a57abf67381e4f58f90e40af3be6b386e240 (diff)
downloadmv-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.h3
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}
};