(svn r10433) -Codechange: Remove FOR_EACH_OBJECT by moving the for loops in the Action 0
handlers outside the switch statements. This allows ignoring only the invalid IDs when changing the properties for many objects, rather than ignoring the whole block if one ID is invalid.
This commit is contained in:
786
src/newgrf.cpp
786
src/newgrf.cpp
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user