diff options
author | peter1138 <peter1138@openttd.org> | 2006-12-03 15:48:21 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-12-03 15:48:21 +0000 |
commit | e205c58ddc66684c24517cca5c94e41b767ae7d6 (patch) | |
tree | 7fff8ddf2fb4e34463baa3c967c238f272fe2720 /engine.h | |
parent | 3f3a14d24b95efe532e04c98ed5f568e97849fbb (diff) | |
download | openttd-e205c58ddc66684c24517cca5c94e41b767ae7d6.tar.xz |
(svn r7330) -Fix (r7304): Data invalidation doesn't always happen as the local
player, resulting in an empty vehicle purchase list. Specify the player
as an argument to IsEngineBuildable()
Diffstat (limited to 'engine.h')
-rw-r--r-- | engine.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ void DrawAircraftEngine(int x, int y, EngineID engine, uint32 image_ormod); void LoadCustomEngineNames(void); void DeleteCustomEngineNames(void); -bool IsEngineBuildable(uint engine, byte type); +bool IsEngineBuildable(EngineID engine, byte type, PlayerID player); enum { NUM_NORMAL_RAIL_ENGINES = 54, |