From e922fce0975c235762979e406754bb00b32fa85c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 24 Mar 2015 02:26:20 +0300 Subject: Fix compilation with some special flags. --- src/resources/resourcemanager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/resources/resourcemanager.cpp') diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index f667569ce..a0efb224f 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -784,10 +784,14 @@ struct WalkLayerLoader final if (!v) return nullptr; +#ifdef DYECMD + return nullptr; +#else const WalkLayerLoader *const rl = static_cast(v); Resource *const resource = NavigationManager::loadWalkLayer(rl->map); return resource; +#endif } }; -- cgit v1.2.3-70-g09d2