mirror of https://github.com/OpenTTD/OpenTTD.git
(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:
parent
ca49b1e997
commit
122bd53809
1516
src/newgrf.cpp
1516
src/newgrf.cpp
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue