diff options
author | rubidium <rubidium@openttd.org> | 2009-05-16 20:10:58 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-16 20:10:58 +0000 |
commit | 814f153b5a98e0030cbd221e6a89e083ce62bb1d (patch) | |
tree | 40602001a89a18ca50cafcaeb0e3403f28d0fb8a /src/yapf/yapf_costrail.hpp | |
parent | 8324cfc875ce26eb7d8cfed42290bf8e20e7c3fc (diff) | |
download | openttd-814f153b5a98e0030cbd221e6a89e083ce62bb1d.tar.xz |
(svn r16323) -Fix [FS#2900]: desyncs due to the fact that depot searching with a maximum search depth simply does not work with YAPF's caches.
Diffstat (limited to 'src/yapf/yapf_costrail.hpp')
-rw-r--r-- | src/yapf/yapf_costrail.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yapf/yapf_costrail.hpp b/src/yapf/yapf_costrail.hpp index a622d2671..b4792db87 100644 --- a/src/yapf/yapf_costrail.hpp +++ b/src/yapf/yapf_costrail.hpp @@ -54,6 +54,10 @@ protected: }; protected: + /** + * @note maximum cost doesn't work with caching enabled + * @todo fix maximum cost failing with caching (e.g. FS#2900) + */ int m_max_cost; CBlobT<int> m_sig_look_ahead_costs; bool m_disable_cache; |