diff options
author | frosch <frosch@openttd.org> | 2008-08-10 15:02:21 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-08-10 15:02:21 +0000 |
commit | 110a9f8fc05abfc09cd56730dafea62c9d739f98 (patch) | |
tree | 71f1b3a72f2c6f8bfcd5f92e59b693bd3ad4ad7b /src/autoreplace_func.h | |
parent | f0347e538359ac2beb442439e24fa0175c19188c (diff) | |
download | openttd-110a9f8fc05abfc09cd56730dafea62c9d739f98.tar.xz |
(svn r14037) -Fix (r8610): The autoreplace gui showed vehicle types for replacement which CmdSetAutoReplace() did not accept.
Diffstat (limited to 'src/autoreplace_func.h')
-rw-r--r-- | src/autoreplace_func.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/autoreplace_func.h b/src/autoreplace_func.h index e640b84bc..0b5129818 100644 --- a/src/autoreplace_func.h +++ b/src/autoreplace_func.h @@ -100,4 +100,6 @@ static inline CommandCost RemoveEngineReplacementForPlayer(Player *p, EngineID e return RemoveEngineReplacement(&p->engine_renew_list, engine, group, flags); } +bool CheckAutoreplaceValidity(EngineID from, EngineID to, PlayerID player); + #endif /* AUTOREPLACE_FUNC_H */ |