summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 15:56:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 15:56:29 +0300
commitca108c26aa632e54993c11861442800277efa45d (patch)
tree2c17e4ed6803b1d72b628d374186068981a7995c /src/input/inputactionmap.h
parentdb5ac7e5ac2642a2df29dcd6de3d6fba5a964b47 (diff)
downloadmanaplus-ca108c26aa632e54993c11861442800277efa45d.tar.gz
manaplus-ca108c26aa632e54993c11861442800277efa45d.tar.bz2
manaplus-ca108c26aa632e54993c11861442800277efa45d.tar.xz
manaplus-ca108c26aa632e54993c11861442800277efa45d.zip
Add chat command for select trade tab.
New chat command: /tradetab Alias: /tradechattab
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index d0a4ecc1a..1af7f387e 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3939,6 +3939,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"battletab|battlechattab",
false},
+ {"keyTradeTab",
+ defaultAction(&Actions::chatTradeTab),
+ InputCondition::INGAME,
+ "tradetab|tradechattab",
+ false},
};
#undef defaultAction