From aae191ff0cd4d082466c214e824fba6a830bb881 Mon Sep 17 00:00:00 2001 From: onpon4 Date: Wed, 14 Mar 2012 12:02:04 -0400 Subject: [PATCH] I missed a couple (int)s in last commit. This removes them. Signed-off-by: onpon4 --- code/title.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/title.cpp b/code/title.cpp index fa7bce3..911a17e 100644 --- a/code/title.cpp +++ b/code/title.cpp @@ -540,7 +540,7 @@ void showStory() if ((engine.keyState[SDLK_LCTRL]) || (engine.keyState[SDLK_RCTRL]) || (engine.keyState[SDLK_SPACE])) break; - if (textShape[8].y > (int)(screen->h / 2) + 150) + if (textShape[8].y > (screen->h / 2) + 150) { for (int i = 0 ; i < 9 ; i++) { @@ -708,7 +708,7 @@ void doCredits() { if ((credit[i].y > -10) && (credit[i].y < (screen->h + 10))) blit(credit[i].image, (int)credit[i].x, (int)credit[i].y); - if (speed > 0 && credit[lastCredit].y > ((int)(screen->h / 2) + 100)) + if (speed > 0 && credit[lastCredit].y > ((screen->h / 2) + 100)) credit[i].y -= speed; else if(speed < 0 && credit[0].y < screen->h) credit[i].y -= speed;