Fix respawning on the floor in legacy checkpoint mode
This commit is contained in:
parent
c86cc58cb0
commit
166e7335ff
1 changed files with 1 additions and 1 deletions
|
|
@ -989,7 +989,7 @@ void P_TouchStarPost(mobj_t *post, player_t *player, boolean snaptopost)
|
|||
//player->starposttime = leveltime;
|
||||
player->starpostx = toucher->x;
|
||||
player->starposty = toucher->y;
|
||||
player->starpostz = post->z;
|
||||
player->starpostz = toucher->eflags & MFE_VERTICALFLIP ? toucher->ceilingz : toucher->floorz;//post->z;
|
||||
player->starpostangle = post->angle;
|
||||
player->starpostflip = post->spawnpoint->options & MTF_OBJECTFLIP; // store flipping
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue