mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
- fixed: G_FinishTravel must clear the MF2_BLASTED flag off the player pawn because this flag will result in damage from contact with other objects in the map.
This commit is contained in:
parent
a0f507d18f
commit
1e82d72349
1 changed files with 1 additions and 0 deletions
|
@ -1169,6 +1169,7 @@ void G_FinishTravel ()
|
||||||
pawn->lastenemy = NULL;
|
pawn->lastenemy = NULL;
|
||||||
pawn->player->mo = pawn;
|
pawn->player->mo = pawn;
|
||||||
pawn->player->camera = pawn;
|
pawn->player->camera = pawn;
|
||||||
|
pawn->flags2 &= ~MF2_BLASTED;
|
||||||
DObject::StaticPointerSubstitution (oldpawn, pawn);
|
DObject::StaticPointerSubstitution (oldpawn, pawn);
|
||||||
oldpawn->Destroy();
|
oldpawn->Destroy();
|
||||||
pawndup->Destroy ();
|
pawndup->Destroy ();
|
||||||
|
|
Loading…
Reference in a new issue