summary refs log tree commit diff stats
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
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)