1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-01 10:33:32 +02:00

Fix memset writing past bestframes

This commit is contained in:
Ethan Lee 2020-06-30 23:02:18 -04:00
parent 56c9a1554a
commit 3d8f53cfd2

View File

@ -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);