diff --git a/src/g_level.cpp b/src/g_level.cpp index d799cc893..e8bf16004 100644 --- a/src/g_level.cpp +++ b/src/g_level.cpp @@ -1202,7 +1202,7 @@ void G_FinishTravel () while ( (pawn = next) != NULL) { next = it.Next (); - pnum = (pawn->player - players); + pnum = int(pawn->player - players); pawn->ChangeStatNum (STAT_PLAYER); pawndup = pawn->player->mo; start = NULL;