aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/dreamweb/sprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/sprite.cpp b/engines/dreamweb/sprite.cpp
index f8f11d8df8..0d25618127 100644
--- a/engines/dreamweb/sprite.cpp
+++ b/engines/dreamweb/sprite.cpp
@@ -782,7 +782,7 @@ void DreamBase::rollEndCredits() {
// Output up to 18 lines of text
uint16 y = 10 - j;
const uint8 *tmp_str = string;
- for (int k = 0; k < 18; ++j) {
+ for (int k = 0; k < 18; ++k) {
DreamBase::printDirect(&tmp_str, 75, &y, 160 + 1, true);
y += linespacing;
}