aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2014-10-10 14:19:39 +0200
committerEugene Sandulenko2014-10-10 14:19:39 +0200
commita0bdea9286a0e9b97b92fb59537ee3a48903aeea (patch)
treea5a0e218869f54887d8e39a81917e28a7debffce /engines
parent5fd804f2679a5ed497b47b27c8fa7970f0d1ddb6 (diff)
downloadscummvm-rg350-a0bdea9286a0e9b97b92fb59537ee3a48903aeea.tar.gz
scummvm-rg350-a0bdea9286a0e9b97b92fb59537ee3a48903aeea.tar.bz2
scummvm-rg350-a0bdea9286a0e9b97b92fb59537ee3a48903aeea.zip
PRINCE: Fix warning
Diffstat (limited to 'engines')
-rw-r--r--engines/prince/prince.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp
index 823032765b..ae45be6bef 100644
--- a/engines/prince/prince.cpp
+++ b/engines/prince/prince.cpp
@@ -3046,7 +3046,7 @@ void PrinceEngine::showPower() {
}
if (power) {
- byte *dst = (byte *)_graph->_frontScreen->getBasePtr(kPowerBarPosX, kPowerBarGreenPosY);
+ dst = (byte *)_graph->_frontScreen->getBasePtr(kPowerBarPosX, kPowerBarGreenPosY);
for (int y = 0; y < kPowerBarGreenHeight; y++) {
byte *dst2 = dst;
for (int x = 0; x < power + 1; x++, dst2++) {