Skip to content

Commit

Permalink
- fixed: G_FinishTravel must clear the MF2_BLASTED flag off the playe…
Browse files Browse the repository at this point in the history
…r pawn because this flag will result in damage from contact with other objects in the map.
  • Loading branch information
Christoph Oelckers committed Sep 13, 2014
1 parent a0f507d commit 1e82d72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/g_level.cpp
Expand Up @@ -1169,6 +1169,7 @@ void G_FinishTravel ()
pawn->lastenemy = NULL;
pawn->player->mo = pawn;
pawn->player->camera = pawn;
pawn->flags2 &= ~MF2_BLASTED;
DObject::StaticPointerSubstitution (oldpawn, pawn);
oldpawn->Destroy();
pawndup->Destroy ();
Expand Down

0 comments on commit 1e82d72

Please sign in to comment.