aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/text_lol.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2009-09-06 23:02:52 +0000
committerFlorian Kagerer2009-09-06 23:02:52 +0000
commit7e3616f3a550c33022b318910fce1602d50ebbc9 (patch)
tree7519589a7022a719f795e475a1ea17e1337faf02 /engines/kyra/text_lol.cpp
parent8e36d06c4cc67b51acb27091ad58bd25e0d0b6fd (diff)
downloadscummvm-rg350-7e3616f3a550c33022b318910fce1602d50ebbc9.tar.gz
scummvm-rg350-7e3616f3a550c33022b318910fce1602d50ebbc9.tar.bz2
scummvm-rg350-7e3616f3a550c33022b318910fce1602d50ebbc9.zip
LOL/Floppy: implemented missing opcode
svn-id: r43997
Diffstat (limited to 'engines/kyra/text_lol.cpp')
-rw-r--r--engines/kyra/text_lol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/text_lol.cpp b/engines/kyra/text_lol.cpp
index 2c7c71e0ee..c1b84e4b02 100644
--- a/engines/kyra/text_lol.cpp
+++ b/engines/kyra/text_lol.cpp
@@ -33,7 +33,7 @@
namespace Kyra {
TextDisplayer_LoL::TextDisplayer_LoL(LoLEngine *vm, Screen_LoL *screen) : _vm(vm), _screen(screen),
- _scriptParameter(0), _lineCount(0), _printFlag(false), _lineWidth(0), _numCharsTotal(0),
+ _scriptTextParameter(0), _lineCount(0), _printFlag(false), _lineWidth(0), _numCharsTotal(0),
_numCharsLeft(0), _numCharsPrinted(0) {
memset(_stringParameters, 0, 15 * sizeof(char *));
@@ -286,7 +286,7 @@ void TextDisplayer_LoL::preprocessString(char *str, EMCState *script, const uint
switch (para) {
case 'a':
- snprintf(dst, 7, "%d", _scriptParameter);
+ snprintf(dst, 7, "%d", _scriptTextParameter);
dst += strlen(dst);
break;