Counter-Strike: Force Weapons_SwitchBest() in CSMultiplayerRules upon

respawning.
This commit is contained in:
Marco Cawthorne 2020-04-22 19:58:37 +02:00
parent 5521c44b72
commit 65a2018b6d

View file

@ -679,6 +679,7 @@ CSMultiplayerRules::PlayerRespawn(player pl, int fTeam)
setsize(pl, VEC_HULL_MIN, VEC_HULL_MAX);
pl.view_ofs = VEC_PLAYER_VIEWPOS;
pl.velocity = [0,0,0];
Weapons_SwitchBest(pl);
/*Ammo_AutoFill(pl.fSlotPrimary);
Ammo_AutoFill(pl.fSlotSecondary);*/