Skip to content

Commit 831186f

Browse files
committed
xrGame/StalkerOutfit.h|cpp: removed unnecessary empty constructor and destructor
And other stuff
1 parent d94c559 commit 831186f

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/xrGame/StalkerOutfit.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
#include "pch_script.h"
22

33
#include "StalkerOutfit.h"
4-
#include "ActorHelmet.h"
5-
6-
CStalkerOutfit::CStalkerOutfit() {}
7-
CStalkerOutfit::~CStalkerOutfit() {}
84

95
void CStalkerOutfit::script_register(lua_State* luaState)
106
{

src/xrGame/StalkerOutfit.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@
99

1010
class CStalkerOutfit : public CCustomOutfit
1111
{
12-
private:
13-
typedef CCustomOutfit inherited;
14-
15-
public:
16-
CStalkerOutfit(void);
17-
virtual ~CStalkerOutfit(void);
12+
protected:
13+
using inherited = CCustomOutfit;
1814

1915
private:
2016
DECLARE_SCRIPT_REGISTER_FUNCTION(CGameObject);

0 commit comments

Comments
 (0)