diff options
author | Strangerke | 2016-03-18 07:34:28 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-10 09:54:21 +0200 |
commit | db527374b78d75673b20d6a91e08b7c95a067d33 (patch) | |
tree | f01ab7655257a75eb30d67420763a33e4b6ca55c /engines/gnap/scenes/scene52.cpp | |
parent | b6ba5cfd89bed28dfab39f5af7b445b0041c2c7e (diff) | |
download | scummvm-rg350-db527374b78d75673b20d6a91e08b7c95a067d33.tar.gz scummvm-rg350-db527374b78d75673b20d6a91e08b7c95a067d33.tar.bz2 scummvm-rg350-db527374b78d75673b20d6a91e08b7c95a067d33.zip |
GNAP: Some renaming
Diffstat (limited to 'engines/gnap/scenes/scene52.cpp')
-rw-r--r-- | engines/gnap/scenes/scene52.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
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); } |