- Fixed: Player pitch limits were reset to 0 when changing levels and loading

saved games.



SVN r3332 (trunk)
This commit is contained in:
Randy Heit 2011-12-14 00:16:19 +00:00
commit 7279e2ad62
4 changed files with 29 additions and 6 deletions

View file

@ -666,6 +666,7 @@ void G_DoCompleted (void)
{
level_info_t *nextinfo = FindLevelInfo (nextlevel);
wminfo.next = nextinfo->mapname;
wminfo.LName1 = TexMan[TexMan.CheckForTexture(nextinfo->pname, FTexture::TEX_MiscPatch)];
@ -1148,6 +1149,7 @@ void G_FinishTravel ()
pawn->LinkToWorld ();
pawn->AddToHash ();
pawn->SetState(pawn->SpawnState);
pawn->player->SendPitchLimits();
for (inv = pawn->Inventory; inv != NULL; inv = inv->Inventory)
{