mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Turn crew rescued/mood vectors into arrays
Since they're always fixed-size, they don't need to be dynamically-sized vectors. entityclass::customcrewmoods is now a proper bool instead of an int now, and I replaced the hardcoded constant 6 with a static const int Game attribute to make it easier to change.
This commit is contained in:
@@ -67,10 +67,7 @@ void entityclass::init()
|
||||
altstates = 0;
|
||||
|
||||
|
||||
for (int i = 0; i < 6; i++)
|
||||
{
|
||||
customcrewmoods[i]=1;
|
||||
}
|
||||
SDL_memset(customcrewmoods, true, sizeof(customcrewmoods));
|
||||
|
||||
flags.resize(100);
|
||||
collect.resize(100);
|
||||
|
||||
Reference in New Issue
Block a user