diff options
author | PeterN <peter1138@openttd.org> | 2021-05-12 08:11:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-12 09:11:14 +0200 |
commit | 3d9436bd75d2d6ff2024ac4ccacf8d6e1e730cc3 (patch) | |
tree | 3b5ee7bc080fac43ffa51ee23323598d5adf0e89 /src/newgrf_commons.h | |
parent | c0a0d85d202843ca68dbc3cd817158a6ccfb53d5 (diff) | |
download | openttd-3d9436bd75d2d6ff2024ac4ccacf8d6e1e730cc3.tar.xz |
Fix #9202: Invalid test for unset NewGRF override mapping. (#9226)
Diffstat (limited to 'src/newgrf_commons.h')
-rw-r--r-- | src/newgrf_commons.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h index b86e3d10a..ed18aaa9e 100644 --- a/src/newgrf_commons.h +++ b/src/newgrf_commons.h @@ -218,7 +218,6 @@ public: inline uint16 GetMaxMapping() const { return max_new_entities; } inline uint16 GetMaxOffset() const { return max_offset; } - inline bool IsValidID(uint16 entity_id) const { return entity_overrides[entity_id] != invalid_ID; } }; |