Codechange: use value initialisation over memset

This commit is contained in:
Rubidium
2025-05-09 17:20:41 +02:00
committed by rubidium42
parent 7981fcb297
commit f8aceb6c37
15 changed files with 29 additions and 47 deletions
+1 -1
View File
@@ -18,5 +18,5 @@ Cheats _cheats;
/** Reinitialise all the cheats. */
void InitializeCheats()
{
memset(&_cheats, 0, sizeof(Cheats));
_cheats = {};
}