summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui_main.c1
-rw-r--r--src/ui/ui_shared.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c
index 200b8b8a..34f77c91 100644
--- a/src/ui/ui_main.c
+++ b/src/ui/ui_main.c
@@ -3445,6 +3445,7 @@ static void UI_LoadTremHumanArmouryBuys( )
for( i = UP_NONE + 1; i < UP_NUM_UPGRADES; i++ )
{
if( BG_FindTeamForUpgrade( i ) == WUT_HUMANS &&
+ BG_FindPurchasableForUpgrade( i ) &&
BG_FindStagesForUpgrade( i, stage ) &&
!( BG_FindSlotsForUpgrade( i ) & slots ) &&
!( upgrades & ( 1 << i ) ) )
diff --git a/src/ui/ui_shared.c b/src/ui/ui_shared.c
index 06ba8cde..8d019150 100644
--- a/src/ui/ui_shared.c
+++ b/src/ui/ui_shared.c
@@ -3410,6 +3410,7 @@ static bind_t g_bindings[] =
{ "+button5", K_MOUSE2, -1, -1, -1 }, //TA: secondary attack
{ "reload", 'r', -1, -1, -1 }, //TA: reload
{ "buy ammo", 'b', -1, -1, -1 }, //TA: buy ammo
+ { "itemact medkit", 'm', -1, -1, -1 }, //TA: use medkit
{ "+button7", 'q', -1, -1, -1 }, //TA: buildable use
{ "deconstruct", 'e', -1, -1, -1 }, //TA: buildable destroy
{ "weapprev", '[', -1, -1, -1 },