(svn r12982) -Fix: compiler warning when compiling without asserts

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
smatz 16 years ago
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…
Cancel
Save