aboutsummaryrefslogtreecommitdiff
path: root/hud/hud.c
diff options
context:
space:
mode:
authorjacopo grandi <jak.sk8@hotmail.it>2021-02-22 19:51:09 +0100
committerjacopo grandi <jak.sk8@hotmail.it>2021-02-22 19:51:09 +0100
commit4842b67ab590250d95ad4be5fe61380a09b1e8ea (patch)
treeabb973efe013b3b0970b2f4434119f2c41644f65 /hud/hud.c
parentbd372bf19eb79e0bfd3f3d9cb20b4c6a49a8a5ed (diff)
view levels and maxrange strat
Diffstat (limited to 'hud/hud.c')
-rw-r--r--hud/hud.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hud/hud.c b/hud/hud.c
index 70ce9b0..2f4eca4 100644
--- a/hud/hud.c
+++ b/hud/hud.c
@@ -167,12 +167,12 @@ void hud_map_sel (info_unit *u, infos *info, int sel, int ind,
if (sel == 2) {
*n = &u->armor[ind];
*bound = info->armorslen;
- size[0] = 150; size[1] = 250;
+ size[0] = 150; size[1] = 200;
}
if (sel == 3) {
*n = &u->weapons[ind];
*bound = info->weaponslen;
- size[0] = 200; size[1] = 110;
+ size[0] = 200; size[1] = 170;
}
if (sel == 4) {
*n = &u->augs[ind];
@@ -260,6 +260,7 @@ void hud_close_fnu (hud *h, infos *info) {
} else {
info->templates[h->og.temp_modify] = h->fnu.uinfo;
}
+ info_save_templates(info, "default");
h->state = 0;
}