I missed a couple (int)s in last commit. This removes them.
Signed-off-by: onpon4 <onpon4@yahoo.com>
This commit is contained in:
parent
38f44d9387
commit
aae191ff0c
|
@ -540,7 +540,7 @@ void showStory()
|
||||||
if ((engine.keyState[SDLK_LCTRL]) || (engine.keyState[SDLK_RCTRL]) || (engine.keyState[SDLK_SPACE]))
|
if ((engine.keyState[SDLK_LCTRL]) || (engine.keyState[SDLK_RCTRL]) || (engine.keyState[SDLK_SPACE]))
|
||||||
break;
|
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++)
|
for (int i = 0 ; i < 9 ; i++)
|
||||||
{
|
{
|
||||||
|
@ -708,7 +708,7 @@ void doCredits()
|
||||||
{
|
{
|
||||||
if ((credit[i].y > -10) && (credit[i].y < (screen->h + 10)))
|
if ((credit[i].y > -10) && (credit[i].y < (screen->h + 10)))
|
||||||
blit(credit[i].image, (int)credit[i].x, (int)credit[i].y);
|
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;
|
credit[i].y -= speed;
|
||||||
else if(speed < 0 && credit[0].y < screen->h)
|
else if(speed < 0 && credit[0].y < screen->h)
|
||||||
credit[i].y -= speed;
|
credit[i].y -= speed;
|
||||||
|
|
Loading…
Reference in New Issue