NSClientPlayer: Ensure .scale is reset upon spawning

This commit is contained in:
Marco Cawthorne 2023-02-07 16:21:33 -08:00
parent 65f21af405
commit f0d77627ea
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 2 additions and 0 deletions

View File

@ -793,6 +793,7 @@ NSClientPlayer::MakeTempSpectator(void)
activeweapon = 0;
effects = 0;
alpha = 0.0f;
scale = 1.0f;
forceinfokey(this, "*spectator", "0"); /* not a real spectator */
forceinfokey(this, "*dead", "0");
}
@ -860,6 +861,7 @@ NSClientPlayer::MakePlayer(void)
SendFlags = UPDATE_ALL;
customphysics = Empty;
iBleeds = TRUE;
scale = 1.0f;
SetSize(VEC_HULL_MIN, VEC_HULL_MAX);
forceinfokey(this, "*spectator", "0");
forceinfokey(this, "*deaths", ftos(deaths));