From db527374b78d75673b20d6a91e08b7c95a067d33 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 18 Mar 2016 07:34:28 +0100 Subject: GNAP: Some renaming --- engines/gnap/scenes/scene52.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'engines/gnap/scenes/scene52.cpp') diff --git a/engines/gnap/scenes/scene52.cpp b/engines/gnap/scenes/scene52.cpp index 02718ec467..369668555d 100644 --- a/engines/gnap/scenes/scene52.cpp +++ b/engines/gnap/scenes/scene52.cpp @@ -647,13 +647,11 @@ void GnapEngine::scene52_shipExplode() { } int GnapEngine::scene52_checkAlienRow(int rowNum) { - - int v4 = 0; - for (int i = 0; i < 5; ++i) if (_s52_items[rowNum][i] >= 0) return 0; + int v4 = 0; for (int j = 0; j < 5; ++j) if (_s52_items[rowNum][j] == -2) { _gameSys->removeSequence(_s52_alienRowKind[rowNum], j + 256, true); @@ -785,9 +783,9 @@ void GnapEngine::scene52_initAnims() { _gameSys->setAnimation(0, 0, k + 9); } -void GnapEngine::scene52_drawScore(int a1) { +void GnapEngine::scene52_drawScore(int score) { char str[4]; - sprintf(str, "%03d", a1); + sprintf(str, "%03d", score); _gameSys->fillSurface(0, 420, 80, 48, 30, 0, 0, 0); _gameSys->drawTextToSurface(0, 420, 80, 255, 255, 255, str); } -- cgit v1.2.3