summaryrefslogtreecommitdiff
path: root/src/ini_load.cpp
diff options
context:
space:
mode:
authorRubidium <rubidium@openttd.org>2021-05-10 23:02:44 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-05-15 10:16:10 +0200
commite6f0d63e258d9847ed564864ddc04967d780c1de (patch)
treebfd9ae20b028db3439451e0f189716cefea18c19 /src/ini_load.cpp
parentaa5a8fe28a224fd581b6053e4a5ce38f3e1a9694 (diff)
downloadopenttd-e6f0d63e258d9847ed564864ddc04967d780c1de.tar.xz
Codechange: comparison result is always the same due to earlier check
Practically the length of the handlers not being equal to the number of features is the problem as it means something was forgotten when adding a new feature, so static assert to that and let the existing check on the feature number take care of invalid data from the NewGRFs.
Diffstat (limited to 'src/ini_load.cpp')
0 files changed, 0 insertions, 0 deletions