X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud%2Fpanel%2Fnotify.qc;h=0dfb11db766bf0865ab7fd999e9b9d4cbd2e4ba5;hp=bfb23bf2c7e6bf2183bf092d09b55964958226f1;hb=06a08d0c6b573f2562297147171aff3d990fa42d;hpb=f7673c11a5261668cc3e3896391fafd546168994 diff --git a/qcsrc/client/hud/panel/notify.qc b/qcsrc/client/hud/panel/notify.qc index bfb23bf2c..0dfb11db7 100644 --- a/qcsrc/client/hud/panel/notify.qc +++ b/qcsrc/client/hud/panel/notify.qc @@ -126,7 +126,7 @@ void HUD_Notify() { attacker = sprintf(_("Player %d"), count + 1); victim = sprintf(_("Player %d"), count + 2); - icon = Weapons_from(min(WEP_FIRST + count * 2, WEP_LAST)).model2; + icon = REGISTRY_GET(Weapons, min(WEP_FIRST + count * 2, WEP_LAST)).model2; alpha = bound(0, 1.2 - count / entry_count, 1); } else