From b93a2a35adc2d74d4e838d0abc3a0e437d549a06 Mon Sep 17 00:00:00 2001 From: s1lentq Date: Sun, 6 Dec 2015 15:24:26 +0600 Subject: [PATCH] Fix bug with message BarTime --- regamedll/dlls/effects.cpp | 2 +- regamedll/dlls/player.cpp | 2 +- regamedll/msvc/ReGameDLL.vcxproj | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/regamedll/dlls/effects.cpp b/regamedll/dlls/effects.cpp index b9952d3c..bea018f6 100644 --- a/regamedll/dlls/effects.cpp +++ b/regamedll/dlls/effects.cpp @@ -1128,7 +1128,7 @@ void CBombGlow::__MAKE_VHOOK(Spawn)(void) { #ifdef REGAMEDLL_FIXES PRECACHE_MODEL("sprites/flare1.spr"); -#endif // REGAMEDLLFIXES +#endif // REGAMEDLL_FIXES pev->solid = SOLID_NOT; pev->movetype = MOVETYPE_NONE; diff --git a/regamedll/dlls/player.cpp b/regamedll/dlls/player.cpp index aa559d3a..ddd19aa1 100644 --- a/regamedll/dlls/player.cpp +++ b/regamedll/dlls/player.cpp @@ -1779,7 +1779,7 @@ void CBasePlayer::SetProgressBarTime2(int time, float timeElapsed) if (player->IsObserver() == OBS_IN_EYE && player->pev->iuser2 == myIndex) { - MESSAGE_BEGIN(MSG_ONE, gmsgBarTime, NULL, player->pev); + MESSAGE_BEGIN(MSG_ONE, gmsgBarTime2, NULL, player->pev); WRITE_SHORT(time); WRITE_SHORT(iTimeElapsed); MESSAGE_END(); diff --git a/regamedll/msvc/ReGameDLL.vcxproj b/regamedll/msvc/ReGameDLL.vcxproj index f758ce12..cac24249 100644 --- a/regamedll/msvc/ReGameDLL.vcxproj +++ b/regamedll/msvc/ReGameDLL.vcxproj @@ -1143,7 +1143,9 @@ $(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories) - IF EXIST "$(ProjectDir)PostBuild.bat" (CALL "$(ProjectDir)PostBuild.bat" "$(TargetDir)" "$(TargetName)" "$(TargetExt)" "$(ProjectDir)") + IF EXIST "$(ProjectDir)PostBuild.bat" (CALL "$(ProjectDir)PostBuild.bat" "$(TargetDir)" "$(TargetName)" "$(TargetExt)" "$(ProjectDir)") + +IF EXIST "$(ProjectDir)START_VIP.bat" (CALL "$(ProjectDir)START_VIP.bat") Automatic deployment script