summaryrefslogtreecommitdiff
path: root/src/koopatlas/mapdata.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-27 04:40:34 +0200
committerTreeki <treeki@gmail.com>2012-09-27 04:40:34 +0200
commit411c5a8e210b5cbca330a5438e2406dbe1ffecab (patch)
treee3df3b98058dc979b759080504f52cd88e68d2b4 /src/koopatlas/mapdata.cpp
parent014f3668eb47b1576bdc182b1db00417f9938cf1 (diff)
downloadkamek-411c5a8e210b5cbca330a5438e2406dbe1ffecab.tar.gz
kamek-411c5a8e210b5cbca330a5438e2406dbe1ffecab.zip
made world changes work, and HUD colourising and other fun things
Diffstat (limited to '')
-rw-r--r--src/koopatlas/mapdata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/koopatlas/mapdata.cpp b/src/koopatlas/mapdata.cpp
index 29c6a23..d4f9d0c 100644
--- a/src/koopatlas/mapdata.cpp
+++ b/src/koopatlas/mapdata.cpp
@@ -286,7 +286,7 @@ void dKPMapData_c::fixup() {
}
-const dKPWorldDef_s *dKPMapData_c::findWorldDef(int id) {
+const dKPWorldDef_s *dKPMapData_c::findWorldDef(int id) const {
for (int i = 0; i < data->worldCount; i++) {
if (data->worlds[i].key == id)
return &data->worlds[i];