summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/version.hpp2
-rw-r--r--src/map/path.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/version.hpp b/src/common/version.hpp
index c19b2ff..8ddd150 100644
--- a/src/common/version.hpp
+++ b/src/common/version.hpp
@@ -8,7 +8,7 @@
# define TMWA_VERSION_MAJOR 13
# define TMWA_VERSION_MINOR 9
# define TMWA_VERSION_PATCH 27
-# define TMWA_DEVELOP_FLAG 0
+# define TMWA_DEVELOP_FLAG 1
// TODO make these bitwise enums
# define TMWA_FLAG_REGISTRATION 0x01
diff --git a/src/map/path.cpp b/src/map/path.cpp
index 879bba3..f7fffbe 100644
--- a/src/map/path.cpp
+++ b/src/map/path.cpp
@@ -23,7 +23,7 @@ struct tmp_path
static
int calc_index(int x, int y)
{
- return (x + y * MAX_WALKPATH) & (MAX_WALKPATH * MAX_WALKPATH - 1);
+ return (x + y * MAX_WALKPATH) % (MAX_WALKPATH * MAX_WALKPATH);
}
/*==========================================