forked from pool/prboom-plus
OBS-URL: https://build.opensuse.org/package/show/games/prboom-plus?expand=0&rev=36
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
From ebebaebb619ef64d4243eb5066fa0b786b42a951 Mon Sep 17 00:00:00 2001
|
|
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: Wed, 1 May 2013 09:42:45 +0200
|
|
Subject: [PATCH 2/4] Redistribute health bar colors
|
|
|
|
With the current value of health_hbar_green=0, green will never
|
|
be shown for monsters, which feels incorrect.
|
|
---
|
|
prboom2/src/m_misc.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git prboom2/src/m_misc.c prboom2/src/m_misc.c
|
|
index 0bf3f5b9..c83f23df 100644
|
|
--- prboom2/src/m_misc.c
|
|
+++ prboom2/src/m_misc.c
|
|
@@ -1045,11 +1045,11 @@ default_t defaults[] =
|
|
def_bool,ss_stat},
|
|
{"health_bar_full_length", {&health_bar_full_length}, {1},0,1,
|
|
def_bool,ss_stat},
|
|
- {"health_bar_red", {&health_bar_red}, {50},0,100,
|
|
+ {"health_bar_red", {&health_bar_red}, {25},0,100,
|
|
def_int,ss_stat},
|
|
- {"health_bar_yellow", {&health_bar_yellow}, {99},0,100,
|
|
+ {"health_bar_yellow", {&health_bar_yellow}, {50},0,100,
|
|
def_int,ss_stat},
|
|
- {"health_bar_green", {&health_bar_green}, {0},0,100,
|
|
+ {"health_bar_green", {&health_bar_green}, {99},0,100,
|
|
def_int,ss_stat},
|
|
|
|
// NSM
|
|
--
|
|
2.30.2
|
|
|