summaryrefslogtreecommitdiff
path: root/newgrf_engine.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-04-28 19:49:48 +0000
committerpeter1138 <peter1138@openttd.org>2006-04-28 19:49:48 +0000
commitfc91cd8135ecec78aa29f2a59129fe8e95030a8c (patch)
treeb4725e1608b590e03bfc16503111e55e874c77a3 /newgrf_engine.c
parent93e1ebb0e70bf7f6e53559152bae72a482d14d1c (diff)
downloadopenttd-fc91cd8135ecec78aa29f2a59129fe8e95030a8c.tar.xz
(svn r4609) - NewGRF: give GetCustomEngineSprite the correct return type
Diffstat (limited to 'newgrf_engine.c')
-rw-r--r--newgrf_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_engine.c b/newgrf_engine.c
index c6f7be5f0..06c0c11f1 100644
--- a/newgrf_engine.c
+++ b/newgrf_engine.c
@@ -405,7 +405,7 @@ static const SpriteGroup *GetVehicleSpriteGroup(EngineID engine, const Vehicle *
return group;
}
-int GetCustomEngineSprite(EngineID engine, const Vehicle* v, Direction direction)
+SpriteID GetCustomEngineSprite(EngineID engine, const Vehicle* v, Direction direction)
{
const SpriteGroup *group;
const RealSpriteGroup *rsg;