- Fixed: The check for CHANGELEVEL_KEEPFACING in G_FinishTravel() needed parentheses.

SVN r3444 (trunk)
This commit is contained in:
Randy Heit 2012-03-16 00:59:10 +00:00
parent 5a076c1f32
commit 73c55b52f9

View file

@ -1119,7 +1119,7 @@ void G_FinishTravel ()
// The player being spawned here is a short lived dummy and // The player being spawned here is a short lived dummy and
// must not start any ENTER script or big problems will happen. // must not start any ENTER script or big problems will happen.
pawndup = P_SpawnPlayer (&playerstarts[pawn->player - players], true); pawndup = P_SpawnPlayer (&playerstarts[pawn->player - players], true);
if (!changeflags & CHANGELEVEL_KEEPFACING) if (!(changeflags & CHANGELEVEL_KEEPFACING))
{ {
pawn->angle = pawndup->angle; pawn->angle = pawndup->angle;
pawn->pitch = pawndup->pitch; pawn->pitch = pawndup->pitch;