- Added rotation 90° angles only) and mirroring to the Multipatch texture
composition code. - Fixed: The game crashed when a level was ended while a player was morphed by a powerup. SVN r912 (trunk)
This commit is contained in:
parent
b54b9bad7a
commit
adc9f090ef
14 changed files with 218 additions and 121 deletions
|
|
@ -163,7 +163,13 @@ bool P_UndoPlayerMorph (player_t *player, bool force)
|
|||
angle_t angle;
|
||||
|
||||
pmo = player->mo;
|
||||
if (pmo->tracer == NULL)
|
||||
// [MH]
|
||||
// Checks pmo as well; the PowerMorph destroyer will
|
||||
// try to unmorph the player; if the destroyer runs
|
||||
// because the level or game is ended while morphed,
|
||||
// by the time it gets executed the morphed player
|
||||
// pawn instance may have already been destroyed.
|
||||
if (pmo == NULL || pmo->tracer == NULL)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue