mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-09 18:39:45 +01:00
Fix memset writing past bestframes
This commit is contained in:
parent
56c9a1554a
commit
3d8f53cfd2
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ void Game::init(void)
|
||||||
tele_crewstats.resize(6);
|
tele_crewstats.resize(6);
|
||||||
quick_crewstats.resize(6);
|
quick_crewstats.resize(6);
|
||||||
besttimes.resize(6, -1);
|
besttimes.resize(6, -1);
|
||||||
::memset(bestframes, -1, sizeof(bestframes) * sizeof(int));
|
SDL_memset(bestframes, -1, sizeof(bestframes));
|
||||||
besttrinkets.resize(6, -1);
|
besttrinkets.resize(6, -1);
|
||||||
bestlives.resize(6, -1);
|
bestlives.resize(6, -1);
|
||||||
bestrank.resize(6, -1);
|
bestrank.resize(6, -1);
|
||||||
|
|
Loading…
Reference in a new issue