summaryrefslogtreecommitdiff
path: root/newgrf_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'newgrf_engine.h')
-rw-r--r--newgrf_engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_engine.h b/newgrf_engine.h
index 6f05d8133..d21537771 100644
--- a/newgrf_engine.h
+++ b/newgrf_engine.h
@@ -17,7 +17,7 @@ VARDEF const uint32 cargo_classes[16];
void SetWagonOverrideSprites(EngineID engine, struct SpriteGroup *group, byte *train_id, int trains);
void SetCustomEngineSprites(EngineID engine, byte cargo, struct SpriteGroup *group);
// loaded is in percents, overriding_engine 0xffff is none
-int GetCustomEngineSprite(EngineID engine, const Vehicle* v, Direction direction);
+SpriteID GetCustomEngineSprite(EngineID engine, const Vehicle* v, Direction direction);
void SetEngineGRF(EngineID engine, uint32 grfid);
uint32 GetEngineGRFID(EngineID engine);