mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
Merge pull request #152 from z33ky/mb/gcc-fixes
Fix gcc build errors & warnings
This commit is contained in:
@@ -192,7 +192,7 @@ bool C_BaseViewModel::Interpolate( float currentTime )
|
||||
}
|
||||
|
||||
|
||||
inline bool C_BaseViewModel::ShouldFlipViewModel()
|
||||
bool C_BaseViewModel::ShouldFlipViewModel()
|
||||
{
|
||||
#if defined(CSTRIKE_DLL) || defined (MAPBASE)
|
||||
// If cl_righthand is set, then we want them all right-handed.
|
||||
|
||||
@@ -104,7 +104,7 @@ C_BaseAnimating *FX_AffectRagdolls_GetHit( Vector vecOrigin, Vector vecStart, in
|
||||
{
|
||||
// don't do this when lots of ragdolls are simulating
|
||||
if ( s_RagdollLRU.CountRagdolls(true) > 1 )
|
||||
return false;
|
||||
return NULL;
|
||||
Ray_t shotRay;
|
||||
shotRay.Init( vecStart, vecOrigin );
|
||||
|
||||
|
||||
@@ -758,7 +758,7 @@ CON_COMMAND_F( r_screenoverlay_indexed, "Draw specified material as an overlay i
|
||||
}
|
||||
else
|
||||
{
|
||||
Warning( "Format: r_screenoverlay_indexed <index> <material> %s\n" );
|
||||
Warning( "Format: r_screenoverlay_indexed <index> [<material>]\n" );
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user