- fixed many compilation errors with GCC and Clang
This commit is contained in:
parent
4fdcc47edc
commit
11958b713e
25 changed files with 110 additions and 110 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue