- unset CF_FLY cheat flag when a player is spawned.

SVN r3703 (trunk)
This commit is contained in:
Christoph Oelckers 2012-06-21 09:00:02 +00:00
parent 814ce3d39c
commit 690e01d4fc

View file

@ -4235,6 +4235,7 @@ APlayerPawn *P_SpawnPlayer (FMapThing *mthing, bool tempplayer)
p->mo->ResetAirSupply(false);
p->Uncrouch();
p->MinPitch = p->MaxPitch = 0; // will be filled in by PostBeginPlay()/netcode
p->cheats &= ~CF_FLY;
p->velx = p->vely = 0; // killough 10/98: initialize bobbing to 0.