Add macro removeblock_iter()

When we switch blocks to not use 'active', we'll need this macro to
remove blocks while iterating through the vector, one at a time,
forwards.
This commit is contained in:
Misa
2020-04-03 15:55:04 -07:00
committed by Ethan Lee
parent 7edbebac92
commit 7689241d3a

View File

@@ -9,6 +9,7 @@
#include <string>
#define removeentity_iter(index) { obj.removeentity(index); index--; }
#define removeblock_iter(index) { obj.removeblock(index); index--; }
enum
{