improved utf-8 code to correctly decode utf-8 byte sequences and not to rely on endle...
[supertux.git] / src / game_session.h
index 59023b3..a1ed467 100644 (file)
@@ -86,6 +86,9 @@ public:
   Sector* get_current_sector()
   { return currentsector; }
 
+  Level* get_current_level()
+  { return level; }
+
   void start_sequence(const std::string& sequencename);
   /// called by JoystickKeyboardController after an ascii key has been pressed
   void try_cheats();