mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 09:01:41 +00:00
SERVER/FTE: Illicitly reset viewzoom when entering Last Stand
This commit is contained in:
parent
7d4ccdea60
commit
8d159b9ec3
2 changed files with 10 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue