SERVER: Fix model path for grenades and betties in

model_should_hide_weapon2

Fixes the scoped kar or dual wielded weapons displaying their secondary
model when cooking a nade or bouncing betty.
This commit is contained in:
Steam Deck User 2023-01-17 11:17:48 -05:00
parent cb72c6e920
commit 9ac309ecfc

View file

@ -169,8 +169,8 @@ void () W_Frame_Update =
float(string path) model_should_hide_weapon2 =
{
switch(path) {
case "progs/VModels/v_nade.mdl":
case "progs/VModels/v_betty.mdl":
case "models/weapons/grenade/v_grenade.mdl":
case "models/weapons/grenade/v_betty.mdl":
case "models/weapons/bk/v_bk.mdl":
case "models/weapons/knife/v_bowie.mdl":
case "models/weapons/knife/v_knife.mdl":
@ -246,4 +246,4 @@ void Set_W_Frame (float startframe, float endframe, float duration, float funcca
}
}
}
}
}