diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index db6917c7..91370d83 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -213,7 +213,7 @@ void Game::init(void) tele_crewstats.resize(6); quick_crewstats.resize(6); besttimes.resize(6, -1); - ::memset(bestframes, -1, sizeof(bestframes) * sizeof(int)); + SDL_memset(bestframes, -1, sizeof(bestframes)); besttrinkets.resize(6, -1); bestlives.resize(6, -1); bestrank.resize(6, -1);