From 2a7ccf560f0d44d31aecf560c8f73bae470e3862 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Fri, 17 Dec 2021 18:22:55 -0800 Subject: [PATCH] Client: Enable the damage notifications from Half-Life. --- src/client/hud.qc | 2 ++ src/client/progs.src | 1 + 2 files changed, 3 insertions(+) diff --git a/src/client/hud.qc b/src/client/hud.qc index 522b278..9d4042b 100644 --- a/src/client/hud.qc +++ b/src/client/hud.qc @@ -54,6 +54,7 @@ HUD_Init(void) precache_model("sprites/hudpulse.spr"); precache_pic("gfx/vgui/640_metalhud_small.tga"); precache_pic("gfx/vgui/640_metalhud.tga"); + HUD_DamageNotify_Init(); } /* @@ -283,6 +284,7 @@ HUD_Draw(void) Textmenu_Draw(); Obituary_Draw(); Damage_Draw(); + HUD_DamageNotify_Draw(); HUD_DrawHealth(); Weapons_DrawCrosshair(); HUD_DrawWeaponSelect(); diff --git a/src/client/progs.src b/src/client/progs.src index a181bb5..579f9aa 100644 --- a/src/client/progs.src +++ b/src/client/progs.src @@ -32,6 +32,7 @@ entities.qc ../../../valve/src/client/viewmodel.qc ../../../valve/src/client/view.qc ../../../valve/src/client/obituary.qc +../../../valve/src/client/hud_dmgnotify.qc hud.qc hud_weaponselect.qc ../../../valve/src/client/scoreboard.qc