summaryrefslogtreecommitdiff
path: root/src/navigationmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-26 00:41:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-26 00:41:35 +0300
commit5344dc6cd9156a9b67da834c9b5b4be00a62992a (patch)
treee71a20fbc231ccec6e53a718758eea447cfc7069 /src/navigationmanager.h
parent02822f84a25b261f02f5928a6cbefe103cd9491e (diff)
downloadmanaplus-5344dc6cd9156a9b67da834c9b5b4be00a62992a.tar.gz
manaplus-5344dc6cd9156a9b67da834c9b5b4be00a62992a.tar.bz2
manaplus-5344dc6cd9156a9b67da834c9b5b4be00a62992a.tar.xz
manaplus-5344dc6cd9156a9b67da834c9b5b4be00a62992a.zip
Add missing checks into other files.
Diffstat (limited to 'src/navigationmanager.h')
-rw-r--r--src/navigationmanager.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/navigationmanager.h b/src/navigationmanager.h
index b009f340e..16b8b9fae 100644
--- a/src/navigationmanager.h
+++ b/src/navigationmanager.h
@@ -43,14 +43,17 @@ class NavigationManager final
private:
static bool findWalkableTile(int &x1, int &y1,
- const int width, const int height,
+ const int width,
+ const int height,
const MetaTile *const tiles,
- const int *const data);
+ const int *const data) A_NONNULL(5, 6);
static void fillNum(int x, int y,
- const int width, const int height,
- const int num, const MetaTile *const tiles,
- int *const data);
+ const int width,
+ const int height,
+ const int num,
+ const MetaTile *const tiles,
+ int *const data) A_NONNULL(6, 7);
};
#endif // NAVIGATIONMANAGER_H