diff options
-rw-r--r-- | src/map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h index d28b8d4..d35b632 100644 --- a/src/map.h +++ b/src/map.h | |||
@@ -110,7 +110,7 @@ public: | |||
110 | 110 | ||
111 | inline const MapData& at(int x, int y) const | 111 | inline const MapData& at(int x, int y) const |
112 | { | 112 | { |
113 | return loaded_.at((x - left_) + width_ * (y - top_)); | 113 | return loaded_[(x - left_) + width_ * (y - top_)]; |
114 | } | 114 | } |
115 | 115 | ||
116 | inline MapData& at(int x, int y) | 116 | inline MapData& at(int x, int y) |