Codechange: use value initialisation over memset

This commit is contained in:
Rubidium
2025-05-06 22:26:12 +02:00
committed by rubidium42
parent 7981fcb297
commit f8aceb6c37
15 changed files with 29 additions and 47 deletions

View File

@@ -18,5 +18,5 @@ Cheats _cheats;
/** Reinitialise all the cheats. */
void InitializeCheats()
{
memset(&_cheats, 0, sizeof(Cheats));
_cheats = {};
}