aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2012-07-02 20:48:57 +0200
committerTorbjörn Andersson2012-07-02 20:48:57 +0200
commit924aac4389abaf7bd3ce266fbd53c0bcdf474ba9 (patch)
treee4578b6e307e330b2bd677c84da2f0433e2def54 /engines
parent58b03ec446737164782867aedc324cce3b491218 (diff)
downloadscummvm-rg350-924aac4389abaf7bd3ce266fbd53c0bcdf474ba9.tar.gz
scummvm-rg350-924aac4389abaf7bd3ce266fbd53c0bcdf474ba9.tar.bz2
scummvm-rg350-924aac4389abaf7bd3ce266fbd53c0bcdf474ba9.zip
TONY: Fix warning about statement without effect.
Diffstat (limited to 'engines')
-rw-r--r--engines/tony/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/game.cpp b/engines/tony/game.cpp
index abc7f1a2e0..5b9502468a 100644
--- a/engines/tony/game.cpp
+++ b/engines/tony/game.cpp
@@ -1604,7 +1604,7 @@ void RMPointer::updateCursor() {
uint16 *src = (uint16 *)cursorData;
for (int i = 0; i < 64; i++) {
uint16 *lineP = src;
- for (int j = 0; j < 64; j++, lineP) {
+ for (int j = 0; j < 64; j++) {
lineP[j] = RMGfxTargetBuffer::_precalcTable[lineP[j] & 0x7FFF];
}
src += 64;