Skip to content

Commit

Permalink
DREAMWEB: Fix regression in rollEndCredits
Browse files Browse the repository at this point in the history
I had previously tested the wrong end credits by accident. Oops...
  • Loading branch information
wjp committed Dec 12, 2011
1 parent a5992d9 commit cc079c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/dreamweb/sprite.cpp
Expand Up @@ -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;
}
Expand Down

1 comment on commit cc079c7

@fingolfin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Silly me :). Makes you wish that there was a compiler warning for this rather typical copy&paste mistake.

Please sign in to comment.