Merge pull request #8327 from heinrich5991/pr_ddnet_revert_initialize_variables

Revert "Initialize all ghost item member (Closed #8297)"
This commit is contained in:
Dennis Felsing 2024-05-08 04:56:16 +00:00 committed by GitHub
commit 587b545ab1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -700,11 +700,11 @@ public:
char m_aFilename[IO_MAX_PATH_LENGTH];
char m_aPlayer[MAX_NAME_LENGTH];
bool m_Failed = true;
int m_Time = 0;
int m_Slot = -1;
bool m_Own = false;
time_t m_Date = 0;
bool m_Failed;
int m_Time;
int m_Slot;
bool m_Own;
time_t m_Date;
CGhostItem() :
m_Slot(-1), m_Own(false) { m_aFilename[0] = 0; }