Fix bug with message BarTime

This commit is contained in:
s1lentq 2015-12-06 15:24:26 +06:00
parent 794093708b
commit b93a2a35ad
3 changed files with 5 additions and 3 deletions

View File

@ -1128,7 +1128,7 @@ void CBombGlow::__MAKE_VHOOK(Spawn)(void)
{ {
#ifdef REGAMEDLL_FIXES #ifdef REGAMEDLL_FIXES
PRECACHE_MODEL("sprites/flare1.spr"); PRECACHE_MODEL("sprites/flare1.spr");
#endif // REGAMEDLLFIXES #endif // REGAMEDLL_FIXES
pev->solid = SOLID_NOT; pev->solid = SOLID_NOT;
pev->movetype = MOVETYPE_NONE; pev->movetype = MOVETYPE_NONE;

View File

@ -1779,7 +1779,7 @@ void CBasePlayer::SetProgressBarTime2(int time, float timeElapsed)
if (player->IsObserver() == OBS_IN_EYE && player->pev->iuser2 == myIndex) 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(time);
WRITE_SHORT(iTimeElapsed); WRITE_SHORT(iTimeElapsed);
MESSAGE_END(); MESSAGE_END();

View File

@ -1143,7 +1143,9 @@
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link> </Link>
<PostBuildEvent> <PostBuildEvent>
<Command>IF EXIST "$(ProjectDir)PostBuild.bat" (CALL "$(ProjectDir)PostBuild.bat" "$(TargetDir)" "$(TargetName)" "$(TargetExt)" "$(ProjectDir)")</Command> <Command>IF EXIST "$(ProjectDir)PostBuild.bat" (CALL "$(ProjectDir)PostBuild.bat" "$(TargetDir)" "$(TargetName)" "$(TargetExt)" "$(ProjectDir)")
IF EXIST "$(ProjectDir)START_VIP.bat" (CALL "$(ProjectDir)START_VIP.bat")</Command>
<Message>Automatic deployment script</Message> <Message>Automatic deployment script</Message>
</PostBuildEvent> </PostBuildEvent>
<CustomBuildStep> <CustomBuildStep>