mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-09-12 22:22:50 +00:00
Fix compilation.
This commit is contained in:
parent
038f1c9c6b
commit
cab8d309a1
@ -36,6 +36,7 @@
|
|||||||
#define SF_TRIGGER_HURT_CLIENTONLYTOUCH 32// only clients may touch this trigger.
|
#define SF_TRIGGER_HURT_CLIENTONLYTOUCH 32// only clients may touch this trigger.
|
||||||
|
|
||||||
extern DLL_GLOBAL BOOL g_fGameOver;
|
extern DLL_GLOBAL BOOL g_fGameOver;
|
||||||
|
extern BOOL g_fIsXash3D;
|
||||||
|
|
||||||
extern void SetMovedir(entvars_t* pev);
|
extern void SetMovedir(entvars_t* pev);
|
||||||
extern Vector VecBModelOrigin( entvars_t* pevBModel );
|
extern Vector VecBModelOrigin( entvars_t* pevBModel );
|
||||||
@ -2100,8 +2101,6 @@ void CTriggerChangeTarget::Use( CBaseEntity *pActivator, CBaseEntity *pCaller, U
|
|||||||
#define SF_CAMERA_PLAYER_TARGET 2
|
#define SF_CAMERA_PLAYER_TARGET 2
|
||||||
#define SF_CAMERA_PLAYER_TAKECONTROL 4
|
#define SF_CAMERA_PLAYER_TAKECONTROL 4
|
||||||
|
|
||||||
extern BOOL gPhysicsInterfaceInitialized;
|
|
||||||
|
|
||||||
class CTriggerCamera : public CBaseDelay
|
class CTriggerCamera : public CBaseDelay
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -2282,7 +2281,7 @@ void CTriggerCamera::Use( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYP
|
|||||||
|
|
||||||
if( FStrEq( STRING( pev->targetname ), "cam1" )
|
if( FStrEq( STRING( pev->targetname ), "cam1" )
|
||||||
&& FStrEq( STRING( gpGlobals->mapname ), "ops_intro" )
|
&& FStrEq( STRING( gpGlobals->mapname ), "ops_intro" )
|
||||||
&& !gPhysicsInterfaceInitialized
|
&& !g_fIsXash3D
|
||||||
&& CVAR_GET_POINTER( "gl_overbright" )
|
&& CVAR_GET_POINTER( "gl_overbright" )
|
||||||
&& !m_bPlaying ) // if we're not playing, start playing!
|
&& !m_bPlaying ) // if we're not playing, start playing!
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user