mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-17 11:39:11 +00:00
(svn r12982) -Fix: compiler warning when compiling without asserts
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user