Merge branch 'master' into jgrpp
# Conflicts: # src/cheat_gui.cpp # src/industry_gui.cpp # src/linkgraph/linkgraphschedule.cpp # src/misc/getoptdata.h # src/music/dmusic.cpp # src/network/core/os_abstraction.cpp # src/newgrf_engine.cpp # src/openttd.cpp # src/order_gui.cpp # src/os/windows/win32.cpp # src/pathfinder/npf/queue.cpp # src/smallmap_gui.cpp # src/strgen/strgen.cpp
This commit is contained in:
@@ -98,8 +98,8 @@ static GenericCallbackList _gcl[GSF_END];
|
||||
*/
|
||||
void ResetGenericCallbacks()
|
||||
{
|
||||
for (uint8_t feature = 0; feature < lengthof(_gcl); feature++) {
|
||||
_gcl[feature].clear();
|
||||
for (auto &gcl : _gcl) {
|
||||
gcl.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user