(svn r25906) -Fix: Simplify condition logic in link refresher.

This commit is contained in:
fonsinchen
2013-10-22 18:46:58 +00:00
parent ca0486e410
commit a7f07d50b7
2 changed files with 13 additions and 20 deletions

View File

@@ -31,7 +31,6 @@ protected:
* an influence on the next one.
*/
enum RefreshFlags {
USE_NEXT, ///< There has been a previous link. Try to use the given next order.
HAS_CARGO, ///< Consist could leave the last stop where it could interact with cargo carrying cargo (i.e. not an "unload all" + "no loading" order).
WAS_REFIT, ///< Consist was refit since the last stop where it could interact with cargo.
RESET_REFIT ///< Consist had a chance to load since the last refit and the refit capacities can be reset.