mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-06-25 03:59:31 +03:00
Fixed misplaced cvars
This commit is contained in:
parent
d525ca02b8
commit
e7c61320a5
@ -4139,6 +4139,11 @@ enum
|
|||||||
|
|
||||||
void PlayLockSounds(CBaseEntity *pEdict, locksound_t *pls, int flocked, int fbutton);
|
void PlayLockSounds(CBaseEntity *pEdict, locksound_t *pls, int flocked, int fbutton);
|
||||||
|
|
||||||
|
#ifdef MAPBASE
|
||||||
|
ConVar ai_door_enable_acts( "ai_door_enable_acts", "0", FCVAR_NONE, "Enables the new door-opening activities by default. Override keyvalues will override this cvar." );
|
||||||
|
ConVar ai_door_open_dist_override( "ai_door_open_dist_override", "-1", FCVAR_NONE, "Overrides the distance from a door a NPC has to navigate to in order to open a door." );
|
||||||
|
#endif
|
||||||
|
|
||||||
BEGIN_DATADESC_NO_BASE(locksound_t)
|
BEGIN_DATADESC_NO_BASE(locksound_t)
|
||||||
|
|
||||||
DEFINE_FIELD( sLockedSound, FIELD_STRING),
|
DEFINE_FIELD( sLockedSound, FIELD_STRING),
|
||||||
@ -6071,11 +6076,6 @@ void CPropDoorRotating::DoorResume( void )
|
|||||||
AngularMove( m_angGoal, m_flSpeed );
|
AngularMove( m_angGoal, m_flSpeed );
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef MAPBASE
|
|
||||||
ConVar ai_door_enable_acts( "ai_door_enable_acts", "0", FCVAR_NONE, "Enables the new door-opening activities by default. Override keyvalues will override this cvar." );
|
|
||||||
ConVar ai_door_open_dist_override( "ai_door_open_dist_override", "-1", FCVAR_NONE, "Overrides the distance from a door a NPC has to navigate to in order to open a door." );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Purpose:
|
// Purpose:
|
||||||
// Input : vecMoveDir -
|
// Input : vecMoveDir -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user