mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Turn splitseconds into an array
It's always 30, there's no need for it to be a vector.
This commit is contained in:
@@ -85,9 +85,9 @@ UtilityClass::UtilityClass() :
|
||||
glow(0),
|
||||
glowdir(0)
|
||||
{
|
||||
for (int i = 0; i < 30; i++)
|
||||
for (size_t i = 0; i < SDL_arraysize(splitseconds); i++)
|
||||
{
|
||||
splitseconds.push_back(int((i * 100) / 30));
|
||||
splitseconds[i] = (i * 100) / 30;
|
||||
}
|
||||
|
||||
slowsine = 0;
|
||||
|
||||
Reference in New Issue
Block a user