summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-06-10 03:31:18 +0300
committerAndrei Karas <akaras@inbox.ru>2019-06-10 03:31:18 +0300
commitbdc467e9f8d7c72d912eb7fdc434b3a14b52d901 (patch)
tree0b8a6f6a945314c05f66957ac2a6dc2c9b6b2664 /src/input
parent96b6acb72bab198d278919daa11390c573341647 (diff)
downloadplus-bdc467e9f8d7c72d912eb7fdc434b3a14b52d901.tar.gz
plus-bdc467e9f8d7c72d912eb7fdc434b3a14b52d901.tar.bz2
plus-bdc467e9f8d7c72d912eb7fdc434b3a14b52d901.tar.xz
plus-bdc467e9f8d7c72d912eb7fdc434b3a14b52d901.zip
Add chat command /trimmemory for force trim freed memory
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 f215a403b..ba8830130 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5966,6 +5966,12 @@ static const InputActionData inputActionData
"clanwindow|clan",
UseArgs_false,
Protected_false},
+ {"keyTrimMemory",
+ defaultAction(&Actions::trimMemory),
+ InputCondition::KEY_DOWN | InputCondition::INGAME,
+ "trim|trimmemory|memorytrim",
+ UseArgs_false,
+ Protected_true},
};
#undef defaultAction