mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 18:04:09 +03:00
Refactor blocks to not use the 'active' system
This removes the variables obj.nblocks, as well as removing the 'active' attribute from the block object. Now every block is guaranteed to be real without having to check the 'active' variable. Removing a block while iterating now uses the removeblock_iter() macro.
This commit is contained in:
@@ -7,7 +7,6 @@ blockclass::blockclass()
|
||||
|
||||
void blockclass::clear()
|
||||
{
|
||||
active = false;
|
||||
type = 0;
|
||||
trigger = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user