From 2a80a3382f375f0f9f915e0cfd473439fed366c4 Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Wed, 26 Sep 2012 23:38:54 +0200 Subject: [PATCH] fix Derpy being one pixel too high in pause screen :D --- src/pause.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pause.c b/src/pause.c index 00c3010..aa3b3dc 100644 --- a/src/pause.c +++ b/src/pause.c @@ -89,7 +89,7 @@ void Pause_Draw(struct Game* game) { game->loadstate=game->gamestate; game->gamestate=GAMESTATE_PAUSE; al_draw_tinted_bitmap(game->pause.bitmap,al_map_rgba_f(1,1,1,0.75),0,0,0); - al_draw_bitmap(game->pause.derpy, 0.47*game->viewportWidth, game->viewportHeight*0.396, 0); + al_draw_bitmap(game->pause.derpy, 0.47*game->viewportWidth, game->viewportHeight*0.4, 0); al_draw_text_with_shadow(game->menu.font_title, al_map_rgb(255,255,255), game->viewportWidth*0.5, game->viewportHeight*0.1, ALLEGRO_ALIGN_CENTRE, "Super Derpy"); al_draw_text_with_shadow(game->menu.font_subtitle, al_map_rgb(255,255,255), game->viewportWidth*0.5, game->viewportHeight*0.275, ALLEGRO_ALIGN_CENTRE, "Game paused."); DrawMenuState(game);