summaryrefslogtreecommitdiff
path: root/src/saveload/ai_sl.cpp
diff options
context:
space:
mode:
authorJonathan G Rennison <j.g.rennison@gmail.com>2018-06-06 08:35:11 +0100
committerPeterN <peter@fuzzle.org>2018-06-06 11:02:50 +0100
commit0bd1022238613917b8f9ac42d0f021de56057af2 (patch)
treef0d4a1a38ab4c7257e885b8ad2dca7c3cdec6071 /src/saveload/ai_sl.cpp
parent408cee123df526002b7d39949330f938d29fb349 (diff)
downloadopenttd-0bd1022238613917b8f9ac42d0f021de56057af2.tar.xz
Codechange: Change element type used for rail type usage stats array in SetDefaultRailGui
The array is rail type sized in terms of number of elements. Each element should be a unsigned integer, not a rail type itself. This fixes runtime warnings reported by UndefinedBehaviorSanitizer.
Diffstat (limited to 'src/saveload/ai_sl.cpp')
0 files changed, 0 insertions, 0 deletions