mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 04:53:12 +01:00
Remove memset
This commit is contained in:
@@ -732,7 +732,6 @@ private:
|
||||
ScenarioHighscoreEntry* InsertHighscore()
|
||||
{
|
||||
auto highscore = new ScenarioHighscoreEntry();
|
||||
std::memset(highscore, 0, sizeof(ScenarioHighscoreEntry));
|
||||
_highscores.push_back(highscore);
|
||||
return highscore;
|
||||
}
|
||||
|
||||
@@ -22,8 +22,8 @@ struct ScenarioHighscoreEntry
|
||||
{
|
||||
u8string fileName;
|
||||
u8string name;
|
||||
money64 company_value;
|
||||
datetime64 timestamp;
|
||||
money64 company_value{};
|
||||
datetime64 timestamp{};
|
||||
};
|
||||
|
||||
enum class ScenarioSource : uint8_t
|
||||
|
||||
Reference in New Issue
Block a user