diff options
author | Chuck Miller <shadowmil@gmail.com> | 2009-07-27 19:32:32 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2009-07-27 19:33:40 -0400 |
commit | 5a27795be5450add2cf3da3c03b2fe8771325e3e (patch) | |
tree | daedd1beba82a87966317b81c92f9662caae2dda /src/map.cpp | |
parent | 99648c2c8693de68ebe0449e139413864e5dd6f1 (diff) | |
download | mana-client-5a27795be5450add2cf3da3c03b2fe8771325e3e.tar.gz mana-client-5a27795be5450add2cf3da3c03b2fe8771325e3e.tar.bz2 mana-client-5a27795be5450add2cf3da3c03b2fe8771325e3e.tar.xz mana-client-5a27795be5450add2cf3da3c03b2fe8771325e3e.zip |
Makes mX and mY in the being class private
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index 38c49112..81bf7313 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -449,7 +449,7 @@ bool Map::occupied(int x, int y) const const Being *being = *i; // job 45 is a portal, they don't collide - if (being->mX == x && being->mY == y && being->mJob != 45) + if (being->getTileX() == x && being->getTileY() == y && being->mJob != 45) return true; } |