- fixed some GCC warnings

This commit is contained in:
Christoph Oelckers 2022-05-19 09:43:10 +02:00
commit da30b6f6f0
5 changed files with 22 additions and 28 deletions

View file

@ -161,7 +161,7 @@ class FPlayerClass
{
public:
FPlayerClass ();
FPlayerClass (const FPlayerClass &other);
FPlayerClass (const FPlayerClass &other) = default;
~FPlayerClass ();
bool CheckSkin (int skin);

View file

@ -159,13 +159,6 @@ FPlayerClass::FPlayerClass ()
Flags = 0;
}
FPlayerClass::FPlayerClass (const FPlayerClass &other)
{
Type = other.Type;
Flags = other.Flags;
Skins = other.Skins;
}
FPlayerClass::~FPlayerClass ()
{
}