summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-24 02:26:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-24 02:26:20 +0300
commite922fce0975c235762979e406754bb00b32fa85c (patch)
tree7e9582316a9b11f86fd00feabe8c05b8720c48bf /src/resources
parentf833adc1703186f93b6b6f64e65de40704d9d75e (diff)
downloadplus-e922fce0975c235762979e406754bb00b32fa85c.tar.gz
plus-e922fce0975c235762979e406754bb00b32fa85c.tar.bz2
plus-e922fce0975c235762979e406754bb00b32fa85c.tar.xz
plus-e922fce0975c235762979e406754bb00b32fa85c.zip
Fix compilation with some special flags.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resourcemanager.cpp4
1 files changed, 4 insertions, 0 deletions
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<const
WalkLayerLoader *const>(v);
Resource *const resource = NavigationManager::loadWalkLayer(rl->map);
return resource;
+#endif
}
};