summaryrefslogtreecommitdiff
path: root/engine.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-12-03 15:48:21 +0000
committerpeter1138 <peter1138@openttd.org>2006-12-03 15:48:21 +0000
commite205c58ddc66684c24517cca5c94e41b767ae7d6 (patch)
tree7fff8ddf2fb4e34463baa3c967c238f272fe2720 /engine.h
parent3f3a14d24b95efe532e04c98ed5f568e97849fbb (diff)
downloadopenttd-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine.h b/engine.h
index ddf0abc95..9675ca396 100644
--- a/engine.h
+++ b/engine.h
@@ -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,