mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-10 08:00:05 +00:00
(svn r12982) -Fix: compiler warning when compiling without asserts
This commit is contained in:
parent
a9d263c459
commit
75a87a7266
@ -886,7 +886,10 @@ SpriteID GetCustomEngineSprite(EngineID engine, const Vehicle *v, Direction dire
|
||||
|
||||
SpriteID GetRotorOverrideSprite(EngineID engine, const Vehicle *v, bool info_view)
|
||||
{
|
||||
#if !defined(NDEBUG) || defined(WITH_ASSERT)
|
||||
const Engine *e = GetEngine(engine);
|
||||
#endif /* !defined(NDEBUG) || defined(WITH_ASSERT) */
|
||||
|
||||
const SpriteGroup *group;
|
||||
ResolverObject object;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user