From 096b9cb36dbbc0d41bd11eac590b809a21d74b8c Mon Sep 17 00:00:00 2001 From: dreamstalker Date: Sun, 12 Jul 2015 19:40:08 +0400 Subject: [PATCH] copy&paste fail --- rehlds/engine/sv_user.cpp | 4 ++-- rehlds/msvc/ReHLDS.vcxproj | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/rehlds/engine/sv_user.cpp b/rehlds/engine/sv_user.cpp index 702dd5f..a4288d0 100644 --- a/rehlds/engine/sv_user.cpp +++ b/rehlds/engine/sv_user.cpp @@ -1436,9 +1436,9 @@ bool EXT_FUNC SV_SetupMoveEx_api(IGameClient* client, float* rewindTime) #else if (rewindTime) { - targettime = float(realtime - clientLatency - cl_interptime + sv_unlagpush.value); - } else { targettime = float(realtime - *rewindTime); + } else { + targettime = float(realtime - clientLatency - cl_interptime + sv_unlagpush.value); } #endif // REHLDS_FIXES diff --git a/rehlds/msvc/ReHLDS.vcxproj b/rehlds/msvc/ReHLDS.vcxproj index 56978fd..9ae62a6 100644 --- a/rehlds/msvc/ReHLDS.vcxproj +++ b/rehlds/msvc/ReHLDS.vcxproj @@ -741,7 +741,7 @@ true - psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) + Winmm.lib;psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) @@ -779,7 +779,7 @@ true - psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) + Winmm.lib;psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) @@ -816,7 +816,7 @@ true - psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) + Winmm.lib;psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) @@ -852,7 +852,7 @@ true - psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) + Winmm.lib;psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) @@ -891,7 +891,7 @@ true - psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) + Winmm.lib;psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) @@ -926,7 +926,7 @@ true - psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) + Winmm.lib;psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) @@ -961,7 +961,7 @@ true - psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) + Winmm.lib;psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) @@ -1001,7 +1001,7 @@ true true true - psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) + Winmm.lib;psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) @@ -1040,7 +1040,7 @@ true true true - psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) + Winmm.lib;psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) @@ -1080,7 +1080,7 @@ true true true - psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies) + Winmm.lib;psapi.lib;ws2_32.lib;$(ProjectDir)../lib/steam_api.lib;%(AdditionalDependencies)