SERVER/FTE: Illicitly reset viewzoom when entering Last Stand

This commit is contained in:
cypress 2024-01-07 18:53:23 -05:00
parent 7d4ccdea60
commit 8d159b9ec3
2 changed files with 10 additions and 1 deletions

View file

@ -190,6 +190,15 @@ void() GetDown =
GiveAchievement(9, self);
}
// Aim out to reset zoom values
W_AimOut();
#ifdef FTE
self.viewzoom = 1;
#endif // FTE
// Make any zombies inside of the player's bounding box leave
push_away_zombies();

View file

@ -1225,7 +1225,7 @@ void () W_Knife =
float r, backupSkin;
vector org;
float hit = false;
float applied_velocity;
vector applied_velocity = '0 0 0';
if (self.sprinting) {
W_SprintStop();