summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-31 23:53:53 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-31 23:53:53 +0300
commit1f96c689d074b5986243a8671154c0374f51af43 (patch)
treecabc8f3ce4361e53e59a57bd1d157d3457df357f /src/input
parent7ace68ca489ea19ae5025ad9f56465e3df930490 (diff)
downloadplus-1f96c689d074b5986243a8671154c0374f51af43.tar.gz
plus-1f96c689d074b5986243a8671154c0374f51af43.tar.bz2
plus-1f96c689d074b5986243a8671154c0374f51af43.tar.xz
plus-1f96c689d074b5986243a8671154c0374f51af43.zip
Add char command /restorecamera for restore camera to default state.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index ad2517acc..d3a5257f4 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5515,6 +5515,12 @@ static const InputActionData inputActionData
"setemotetype",
UseArgs_true,
Protected_true},
+ {"keyCameraRestore",
+ defaultAction(&Actions::restoreCamera),
+ InputCondition::INGAME,
+ "restorecamera|returncamera|camerarestore",
+ UseArgs_false,
+ Protected_false},
};
#undef defaultAction