mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-25 14:54:19 +03:00
Fix memset writing past bestframes
This commit is contained in:
1 parent
56c9a1554a
commit
3d8f53cfd2
1 file changed
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user