Codechange: Replace FOR_ALL_SIGNS with range-based for loops
This commit is contained in:
@@ -59,9 +59,7 @@ void Sign::UpdateVirtCoord()
|
||||
/** Update the coordinates of all signs */
|
||||
void UpdateAllSignVirtCoords()
|
||||
{
|
||||
Sign *si;
|
||||
|
||||
FOR_ALL_SIGNS(si) {
|
||||
for (Sign *si : Sign::Iterate()) {
|
||||
si->UpdateVirtCoord();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user