diff options
Diffstat (limited to 'queen')
-rw-r--r-- | queen/talk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index 48c9145f91..8d3af3e126 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -473,10 +473,10 @@ void Talk::initialTalk() { byte *ptr = _joePtr + 2; - uint16 hasString = READ_BE_UINT16(ptr); ptr += 2; + uint16 hasNotString = READ_BE_UINT16(ptr); ptr += 2; char joeString[MAX_STRING_SIZE]; - if (hasString) { + if (!hasNotString) { ptr = getString(ptr, joeString, MAX_STRING_LENGTH); //debug(0, "joeString = '%s'", joeString); } |