- fixed many compilation errors with GCC and Clang

This commit is contained in:
alexey.lysiuk 2019-01-07 10:14:52 +02:00 committed by Christoph Oelckers
commit 11958b713e
25 changed files with 110 additions and 110 deletions

View file

@ -1289,7 +1289,7 @@ void G_StartTravel ()
{
AActor *pawn = players[i].mo;
AActor *inv;
players[i].camera = NULL;
players[i].camera = nullptr;
// Only living players travel. Dead ones get a new body on the new level.
if (players[i].health > 0)
@ -1391,8 +1391,8 @@ int G_FinishTravel ()
{
P_FindFloorCeiling(pawn);
}
pawn->target = NULL;
pawn->lastenemy = NULL;
pawn->target = nullptr;
pawn->lastenemy = nullptr;
pawn->player->mo = pawn;
pawn->player->camera = pawn;
pawn->player->viewheight = pawn->player->DefaultViewHeight();