summaryrefslogtreecommitdiff
path: root/src/script/script_scanner.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-08-16 10:20:15 +0000
committerrubidium <rubidium@openttd.org>2014-08-16 10:20:15 +0000
commitd733c7d196fc7077b97117fc3cad7a909f737bba (patch)
tree186510f18885c4d08a34efe33ceff2073b8e5e37 /src/script/script_scanner.hpp
parentf4a381f9919e127715956dd80ba6949b991e0d36 (diff)
downloadopenttd-d733c7d196fc7077b97117fc3cad7a909f737bba.tar.xz
(svn r26736) -Fix [Script]: infinite loop (by scripts; always returning the same item) when sorted by item in descending order by oddly constructed FindNext that uses forward iterators. Simply use the same code as the ascending item sort but use the reverse iterator instead of the forward. Also do this same trick for the descending value sort even though I couldn't trigger the problem there
Diffstat (limited to 'src/script/script_scanner.hpp')
0 files changed, 0 insertions, 0 deletions