Codechange: Replace FOR_ALL_SIGNS with range-based for loops
This commit is contained in:
@@ -32,9 +32,7 @@ static const SaveLoad _sign_desc[] = {
|
||||
/** Save all signs */
|
||||
static void Save_SIGN()
|
||||
{
|
||||
Sign *si;
|
||||
|
||||
FOR_ALL_SIGNS(si) {
|
||||
for (Sign *si : Sign::Iterate()) {
|
||||
SlSetArrayIndex(si->index);
|
||||
SlObject(si, _sign_desc);
|
||||
}
|
||||
|
Reference in New Issue
Block a user