summary refs log tree commit diff stats
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map.cpp b/src/map.cpp index 87080e8..3976b63 100644 --- a/src/map.cpp +++ b/src/map.cpp
@@ -67,32 +67,32 @@ void swap(Map& first, Map& second)
67 std::swap(first.m_rightMap, second.m_rightMap); 67 std::swap(first.m_rightMap, second.m_rightMap);
68} 68}
69 69
70const int* Map::mapdata() 70const int* Map::mapdata() const
71{ 71{
72 return m_mapdata; 72 return m_mapdata;
73} 73}
74 74
75const char* Map::title() 75const char* Map::title() const
76{ 76{
77 return m_title; 77 return m_title;
78} 78}
79 79
80Map* Map::getLeftMap() 80const Map* Map::getLeftMap() const
81{ 81{
82 return m_leftMap; 82 return m_leftMap;
83} 83}
84 84
85Map* Map::getRightMap() 85const Map* Map::getRightMap() const
86{ 86{
87 return m_rightMap; 87 return m_rightMap;
88} 88}
89 89
90void Map::setLeftMap(Map* m) 90void Map::setLeftMap(const Map* m)
91{ 91{
92 m_leftMap = m; 92 m_leftMap = m;
93} 93}
94 94
95void Map::setRightMap(Map* m) 95void Map::setRightMap(const Map* m)
96{ 96{
97 m_rightMap = m; 97 m_rightMap = m;
98} 98}