1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Remove contents memset from editorclass constructor

It gets (re-) initialized in editorclass::reset() anyway, so I'm just
removing this for code clarity.
This commit is contained in:
Misa 2021-02-20 14:31:04 -08:00 committed by Misa Elizabeth Kai
parent 6f0177ec04
commit 83cccbed07

View file

@ -54,9 +54,6 @@ edlevelclass::edlevelclass(void)
editorclass::editorclass(void)
{
//We create a blank map
SDL_memset(contents, 0, sizeof(contents));
for (size_t i = 0; i < SDL_arraysize(vmult); i++)
{
vmult[i] = i * 40 * maxwidth;