SERVER: Fix v_morphine not hiding weapon2model

This commit is contained in:
cypress 2023-12-28 11:56:04 -05:00
parent 6a2cdf5f2d
commit 8004caccfb
2 changed files with 2 additions and 1 deletions

View file

@ -186,6 +186,7 @@ float(string path) model_should_hide_weapon2 =
case "models/weapons/bk/v_bk.mdl": case "models/weapons/bk/v_bk.mdl":
case "models/weapons/knife/v_bowie.mdl": case "models/weapons/knife/v_bowie.mdl":
case "models/weapons/knife/v_knife.mdl": case "models/weapons/knife/v_knife.mdl":
case "models/weapons/morphine/v_morphine.mdl":
return true; return true;
} }

View file

@ -1912,7 +1912,7 @@ void() CheckPlayer =
if (!self.progress_bar_percent) { if (!self.progress_bar_percent) {
ChangeReviveIconState(ent.electro_targeted, 2); ChangeReviveIconState(ent.electro_targeted, 2);
self.movetype = MOVETYPE_TOSS; self.movetype = MOVETYPE_TOSS;
Set_W_Frame (0, 21, 0, 0, SPRINT, SUB_Null, "models/weapons/morphine/v_morphine.mdl", false, S_BOTH); Set_W_Frame (0, 21, 0, 0, SPRINT, SUB_Null, "models/weapons/morphine/v_morphine.mdl", false, S_RIGHT);
if !(self.perks & P_REVIVE) if !(self.perks & P_REVIVE)
self.progress_bar_time = 4; self.progress_bar_time = 4;