(svn r26283) -Fix [FS#5878]: Prevent infinite recursion also in RefreshLinks.

This commit is contained in:
fonsinchen
2014-01-28 19:49:43 +00:00
parent ecedf63b0c
commit 21a5571d07
2 changed files with 10 additions and 10 deletions

View File

@@ -94,9 +94,9 @@ protected:
void HandleRefit(const Order *next);
void ResetRefit();
void RefreshStats(const Order *cur, const Order *next);
const Order *PredictNextOrder(const Order *cur, const Order *next, uint8 flags);
const Order *PredictNextOrder(const Order *cur, const Order *next, uint8 flags, uint num_hops = 0);
void RefreshLinks(const Order *cur, const Order *next, uint8 flags);
void RefreshLinks(const Order *cur, const Order *next, uint8 flags, uint num_hops = 0);
};
#endif // REFRESH_H