X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgame_session.cpp;h=c1ae83c1809a8179ae3bdeee46329c6f7fc88b8a;hb=7504b8ef1155259916f0e38eeb74a6024bb1d85b;hp=69a1265ed5ea73fc7eb3f9e4ee7d0c24b890e1b4;hpb=f2d345c3ccec7743e39df2f59e546ad415257b81;p=supertux.git diff --git a/src/game_session.cpp b/src/game_session.cpp index 69a1265ed..c1ae83c18 100644 --- a/src/game_session.cpp +++ b/src/game_session.cpp @@ -408,7 +408,7 @@ GameSession::draw_pause(DrawingContext& context) { context.draw_filled_rect( Vector(0,0), Vector(SCREEN_WIDTH, SCREEN_HEIGHT), - Color(.2, .2, .2, .5), LAYER_FOREGROUND1); + Color(.2f, .2f, .2f, .5f), LAYER_FOREGROUND1); } void @@ -586,7 +586,7 @@ GameSession::start_sequence(const std::string& sequencename) end_sequence->start(); sound_manager->play_music("music/leveldone.ogg", false); - currentsector->player->invincible_timer.start(7.3); + currentsector->player->invincible_timer.start(7.3f); // Stop all clocks. for(std::vector::iterator i = currentsector->gameobjects.begin();