From 29cf6b0daa63012611cbfed7cee1999cbb1506f0 Mon Sep 17 00:00:00 2001 From: Edward Richardson Date: Tue, 14 Oct 2014 12:54:03 +1300 Subject: [PATCH] Fixed PredictionActor size and typo --- src/d_net.cpp | 2 +- src/p_user.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d_net.cpp b/src/d_net.cpp index bc4bc7352..c06d628f9 100644 --- a/src/d_net.cpp +++ b/src/d_net.cpp @@ -1730,7 +1730,7 @@ void D_CheckNetGame (void) if (v != NULL && (atoi(v) != 0)) { Printf(TEXTCOLOR_YELLOW "Notice: Using PacketServer (netmode 1) over the internet is prone to running too slow on some internet configurations." - "\nIf the game is running well below excpected speeds, use netmode 0 (P2P) instead.\n"); + "\nIf the game is running well below expected speeds, use netmode 0 (P2P) instead.\n"); } // I_InitNetwork sets doomcom and netgame diff --git a/src/p_user.cpp b/src/p_user.cpp index b40e44424..fccdbae8e 100644 --- a/src/p_user.cpp +++ b/src/p_user.cpp @@ -85,7 +85,7 @@ struct PredictPos static int PredictionLerptics; static player_t PredictionPlayerBackup; -static BYTE PredictionActorBackup[sizeof(AActor)]; +static BYTE PredictionActorBackup[sizeof(APlayerPawn)]; static TArray PredictionTouchingSectorsBackup; static TArray PredictionSectorListBackup; static TArray PredictionSector_sprev_Backup;