summaryrefslogtreecommitdiff
path: root/src/depot_func.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2018-03-11 15:08:51 +0000
committerfrosch <frosch@openttd.org>2018-03-11 15:08:51 +0000
commit55a503e6f225a3c1dba3dbc1effa7e0d6942dd96 (patch)
treec60b80c025c69edbfa919518d81b84c354fcbe7f /src/depot_func.h
parentc6eb633d189f12fa3dd95243a5dcc021cb0e930b (diff)
downloadopenttd-55a503e6f225a3c1dba3dbc1effa7e0d6942dd96.tar.xz
(svn r27989) -Fix (r27985): VA2 optimisation failed in various special cases:
- nvar=0 is meant to return the calculated result. - Missing references resolve to NULL and got identified with the default result. - Missing 'break' broke overlapping cases. - Splitting into non-overlapping cases could result in more than 256 cases.
Diffstat (limited to 'src/depot_func.h')
0 files changed, 0 insertions, 0 deletions