X-Git-Url: https://git.octo.it/?p=supertux.git;a=blobdiff_plain;f=src%2Fsupertux%2Flevel.hpp;h=fcc10578d6d1ee7b0b1c34e469de34b5b95cfc1a;hp=aadc49b781505336bab80bd544e78033219713ec;hb=2fee8cb489f155b847abb2fd90580c4cab5f3cda;hpb=9f40a73e89c17a2862a1213343589c19eff42199 diff --git a/src/supertux/level.hpp b/src/supertux/level.hpp index aadc49b78..fcc10578d 100644 --- a/src/supertux/level.hpp +++ b/src/supertux/level.hpp @@ -62,8 +62,8 @@ public: Sector* get_sector(const std::string& name); - size_t get_sector_count(); - Sector* get_sector(size_t num); + size_t get_sector_count() const; + Sector* get_sector(size_t num) const; const TileSet *get_tileset() const { return tileset; }