X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameloop.cpp;h=790b8afdb0d9a510addb5abc6fe53e1a44928ffe;hb=ff8e7dfe9011afc8bdd4ca29b6a6306737d75689;hp=a91fcf783d3722573b96eb779fcc1121481cb91b;hpb=780c7ade94ab5e2b30c9bf1441369c34f73ba794;p=supertux.git diff --git a/src/gameloop.cpp b/src/gameloop.cpp index a91fcf783..790b8afdb 100644 --- a/src/gameloop.cpp +++ b/src/gameloop.cpp @@ -746,6 +746,14 @@ GameSession::drawstatus(DrawingContext& context) Vector(screen->w - white_text->get_text_width(_("LIVES")) - white_text->get_text_width(" 99"), 20), LAYER_FOREGROUND1); + if(game_pause) + { + sprintf(str, _("Playing: %s"), level->name.c_str()); + + context.draw_text(white_text, str, Vector(0,20), + LAYER_FOREGROUND1); + } + if(show_fps) { sprintf(str, "%2.1f", fps_fps);