mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-10 18:59:36 +00:00
Replace empty constructors with default constructors #88
This commit is contained in:
@@ -17,10 +17,6 @@ END_DATADESC();
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//-----------------------------------------------------------------------------
|
||||
CAI_HolsterBehavior::CAI_HolsterBehavior()
|
||||
{
|
||||
// m_AssaultCue = CUE_NO_ASSAULT;
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
@@ -25,8 +25,8 @@ class CAI_HolsterBehavior : public CAI_SimpleBehavior
|
||||
DECLARE_CLASS( CAI_HolsterBehavior, CAI_SimpleBehavior );
|
||||
|
||||
public:
|
||||
CAI_HolsterBehavior();
|
||||
|
||||
CAI_HolsterBehavior() = default;
|
||||
|
||||
virtual const char *GetName() { return "Holster"; }
|
||||
|
||||
virtual bool CanSelectSchedule();
|
||||
|
||||
@@ -461,14 +461,6 @@ void CNPC_MetroPolice::NotifyDeadFriend( CBaseEntity* pFriend )
|
||||
m_Sentences.Speak( "METROPOLICE_MAN_DOWN", SENTENCE_PRIORITY_MEDIUM );
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------------
|
||||
CNPC_MetroPolice::CNPC_MetroPolice()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
@@ -34,7 +34,7 @@ class CNPC_MetroPolice : public CAI_BaseActor
|
||||
DECLARE_DATADESC();
|
||||
|
||||
public:
|
||||
CNPC_MetroPolice();
|
||||
CNPC_MetroPolice() = default;
|
||||
|
||||
virtual bool CreateComponents();
|
||||
bool CreateBehaviors();
|
||||
|
||||
@@ -37,7 +37,7 @@ class CNPC_Monk : public CAI_PlayerAlly
|
||||
|
||||
public:
|
||||
|
||||
CNPC_Monk() {}
|
||||
CNPC_Monk() = default;
|
||||
void Spawn();
|
||||
void Precache();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user