Codechange: Replace FOR_ALL_OBJECTS with range-based for loops

This commit is contained in:
glx
2019-12-17 19:05:46 +01:00
committed by Niels Martin Hansen
parent 11f178a312
commit 514565fad6
6 changed files with 8 additions and 20 deletions

View File

@@ -78,9 +78,6 @@ protected:
static uint16 counts[NUM_OBJECTS]; ///< Number of objects per type ingame
};
#define FOR_ALL_OBJECTS_FROM(var, start) FOR_ALL_ITEMS_FROM(Object, object_index, var, start)
#define FOR_ALL_OBJECTS(var) FOR_ALL_OBJECTS_FROM(var, 0)
/**
* Keeps track of removed objects during execution/testruns of commands.
*/