mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-21 19:32:21 +00:00
SERVER: Fix v_morphine not hiding weapon2model
This commit is contained in:
parent
6a2cdf5f2d
commit
8004caccfb
2 changed files with 2 additions and 1 deletions
|
@ -186,6 +186,7 @@ float(string path) model_should_hide_weapon2 =
|
|||
case "models/weapons/bk/v_bk.mdl":
|
||||
case "models/weapons/knife/v_bowie.mdl":
|
||||
case "models/weapons/knife/v_knife.mdl":
|
||||
case "models/weapons/morphine/v_morphine.mdl":
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1912,7 +1912,7 @@ void() CheckPlayer =
|
|||
if (!self.progress_bar_percent) {
|
||||
ChangeReviveIconState(ent.electro_targeted, 2);
|
||||
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)
|
||||
self.progress_bar_time = 4;
|
||||
|
|
Loading…
Reference in a new issue