mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-13 07:17:57 +03:00
Fix gcc build errors & warnings
This commit is contained in:
parent
8652b31ed1
commit
e46dc3a2bd
@ -10,8 +10,8 @@
|
||||
//#pragma warning(disable: 4786)
|
||||
|
||||
#include "convar.h"
|
||||
#include "MaterialSystem/imaterialproxy.h"
|
||||
#include "materialsystem/IMaterialVar.h"
|
||||
#include "materialsystem/imaterialproxy.h"
|
||||
#include "materialsystem/imaterialvar.h"
|
||||
//#include "imaterialproxydict.h"
|
||||
|
||||
// NOTE: This has to be the last file included!
|
||||
|
@ -324,12 +324,12 @@ void CAI_GrenadeUser<BASE_NPC>::InputThrowGrenadeGestureAtTarget( inputdata_t &i
|
||||
#ifdef SHARED_COMBINE_ACTIVITIES
|
||||
if (IsAltFireCapable())
|
||||
{
|
||||
if (FVisible( m_hForcedGrenadeTarget ))
|
||||
if (this->FVisible( m_hForcedGrenadeTarget ))
|
||||
{
|
||||
m_vecAltFireTarget = vecTarget;
|
||||
m_hForcedGrenadeTarget = NULL;
|
||||
|
||||
int iLayer = AddGesture( ACT_GESTURE_COMBINE_AR2_ALTFIRE );
|
||||
int iLayer = this->AddGesture( ACT_GESTURE_COMBINE_AR2_ALTFIRE );
|
||||
if (iLayer != -1)
|
||||
{
|
||||
this->GetShotRegulator()->FireNoEarlierThan( gpGlobals->curtime + this->GetLayerDuration( iLayer ) );
|
||||
@ -342,7 +342,7 @@ void CAI_GrenadeUser<BASE_NPC>::InputThrowGrenadeGestureAtTarget( inputdata_t &i
|
||||
// Ignore grenade count / distance / etc
|
||||
if (CheckCanThrowGrenade( vecTarget ))
|
||||
{
|
||||
int iLayer = AddGesture( ACT_GESTURE_COMBINE_THROW_GRENADE );
|
||||
int iLayer = this->AddGesture( ACT_GESTURE_COMBINE_THROW_GRENADE );
|
||||
if (iLayer != -1)
|
||||
{
|
||||
this->GetShotRegulator()->FireNoEarlierThan( gpGlobals->curtime + this->GetLayerDuration( iLayer ) );
|
||||
|
@ -44,7 +44,7 @@
|
||||
#ifdef MAPBASE
|
||||
#include "mapbase/GlobalStrings.h"
|
||||
#include "collisionutils.h"
|
||||
#include "vstdlib/ikeyvaluessystem.h" // From Alien Swarm SDK
|
||||
#include "vstdlib/IKeyValuesSystem.h" // From Alien Swarm SDK
|
||||
#endif
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
|
Loading…
x
Reference in New Issue
Block a user