diff --git a/src/LevelTable.hh b/src/LevelTable.hh index b8c265e8..dfb3e450 100644 --- a/src/LevelTable.hh +++ b/src/LevelTable.hh @@ -7,15 +7,13 @@ #include struct CharacterStats { - le_uint16_t atp; - le_uint16_t mst; - le_uint16_t evp; - le_uint16_t hp; - le_uint16_t dfp; - le_uint16_t ata; - le_uint16_t lck; - - CharacterStats() noexcept; + le_uint16_t atp = 0; + le_uint16_t mst = 0; + le_uint16_t evp = 0; + le_uint16_t hp = 0; + le_uint16_t dfp = 0; + le_uint16_t ata = 0; + le_uint16_t lck = 0; } __attribute__((packed)); class LevelTable { // from PlyLevelTbl.prs diff --git a/src/Player.cc b/src/Player.cc index 094961dd..6349e0d7 100644 --- a/src/Player.cc +++ b/src/Player.cc @@ -27,15 +27,6 @@ static const string ACCOUNT_FILE_SIGNATURE = static FileContentsCache player_files_cache(300 * 1000 * 1000); -CharacterStats::CharacterStats() noexcept - : atp(0), - mst(0), - evp(0), - hp(0), - dfp(0), - ata(0), - lck(0) {} - PlayerStats::PlayerStats() noexcept : level(0), experience(0),