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 | 4eae917c1ce88d30e81a80230f653cfe7761ea99 (patch) | |
tree | 71f1b3a72f2c6f8bfcd5f92e59b693bd3ad4ad7b /src/autoreplace_func.h | |
parent | b1ed3bad58d892b38e9a99f6ae7df2df5d1a034d (diff) | |
download | openttd-4eae917c1ce88d30e81a80230f653cfe7761ea99.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 */ |