Skip to content

Commit

Permalink
fix classic view weapon grenade anim
Browse files Browse the repository at this point in the history
you wont notice this on local view but when spectating other players
  • Loading branch information
siecvi committed Sep 21, 2024
1 parent 8300024 commit d9b02f6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Sources/Client/ClientPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -738,10 +738,9 @@ namespace spades {
break;
case Player::ToolGrenade:
model = renderer.RegisterModel("Models/Weapons/Grenade/Grenade.kv6");
if (actualWeapInput.primary) {
float f = cookGrenadeTime;
trans.x -= f;
trans.z -= f;
if (p.IsCookingGrenade() && cookGrenadeTime > 0.0F) {
trans.x -= cookGrenadeTime;
trans.z -= cookGrenadeTime;
}
break;
case Player::ToolWeapon: {
Expand Down

0 comments on commit d9b02f6

Please sign in to comment.