summaryrefslogtreecommitdiff
path: root/src/navigationmanager.cpp
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/navigationmanager.cpp
parentf833adc1703186f93b6b6f64e65de40704d9d75e (diff)
downloadmanaplus-e922fce0975c235762979e406754bb00b32fa85c.tar.gz
manaplus-e922fce0975c235762979e406754bb00b32fa85c.tar.bz2
manaplus-e922fce0975c235762979e406754bb00b32fa85c.tar.xz
manaplus-e922fce0975c235762979e406754bb00b32fa85c.zip
Fix compilation with some special flags.
Diffstat (limited to 'src/navigationmanager.cpp')
-rw-r--r--src/navigationmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/navigationmanager.cpp b/src/navigationmanager.cpp
index a40f8c732..5df18013f 100644
--- a/src/navigationmanager.cpp
+++ b/src/navigationmanager.cpp
@@ -52,6 +52,7 @@ NavigationManager::~NavigationManager()
{
}
+#ifndef DYECMD
Resource *NavigationManager::loadWalkLayer(const Map *const map)
{
if (!map)
@@ -77,6 +78,7 @@ Resource *NavigationManager::loadWalkLayer(const Map *const map)
return walkLayer;
}
+#endif
bool NavigationManager::findWalkableTile(int &x1, int &y1,
const int width, const int height,