[Scummvm-cvs-logs] scummvm master -> 8584315867961a01210bf961a490216e0308f6eb
Strangerke
Strangerke at scummvm.org
Tue Jan 12 11:26:44 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
8584315867 VOYEUR: Reduce variable scope, fix typo in comment
Commit: 8584315867961a01210bf961a490216e0308f6eb
https://github.com/scummvm/scummvm/commit/8584315867961a01210bf961a490216e0308f6eb
Author: Strangerke (strangerke at scummvm.org)
Date: 2016-01-12T11:19:39+01:00
Commit Message:
VOYEUR: Reduce variable scope, fix typo in comment
Changed paths:
engines/voyeur/voyeur_game.cpp
diff --git a/engines/voyeur/voyeur_game.cpp b/engines/voyeur/voyeur_game.cpp
index c7df924..13ef318 100644
--- a/engines/voyeur/voyeur_game.cpp
+++ b/engines/voyeur/voyeur_game.cpp
@@ -404,8 +404,7 @@ void VoyeurEngine::doPiracy() {
fi._justifyHeight = 230;
// Loop through the piracy message array to draw each line
- int yp, idx;
- for (idx = 0, yp = 33; idx < 10; ++idx) {
+ for (int idx = 0, yp = 33; idx < 10; ++idx) {
fi._pos = Common::Point(0, yp);
_graphicsManager->_vPort->drawText(PIRACY_MESSAGE[idx]);
@@ -687,7 +686,7 @@ void VoyeurEngine::reviewTape() {
_eventsManager->_intPtr._flashTimer = 0;
_voy->_eventFlags &= ~EVTFLAG_TIME_DISABLED;
- // Play suond for the given duration
+ // Play sound for the given duration
_soundManager->setVOCOffset(_voy->_vocSecondsOffset);
_soundManager->startVOCPlay(_audioVideoId + 159);
uint32 secondsDuration = e._computerOff;
More information about the Scummvm-git-logs
mailing list