old_viewofs should really be a float.

Made PlayerDisconnect SendFlag more explicit.
This commit is contained in:
Marco Cawthorne 2019-09-07 21:09:18 +02:00
parent 44479cd637
commit 3112040047
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ Game_ClientDisconnect(void)
self.modelindex = 0;
self.health = 0;
self.takedamage = 0;
self.SendFlags = 1;
self.SendFlags = PLAYER_MODELINDEX;
}
void

View file

@ -101,7 +101,7 @@ class player
int old_health;
int old_armor;
int old_movetype;
int old_viewofs;
float old_viewofs;
int old_baseframe;
int old_frame;
int old_a_ammo1;