diff options
author | Gregory Montoir | 2004-01-05 20:46:37 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-05 20:46:37 +0000 |
commit | 5e413ceb5c5a319d540d5c7a328509ee69a627f1 (patch) | |
tree | 58d0dee455b21377ce317558fce727ae02cf464c /queen/cutaway.cpp | |
parent | d834bd9684c6b3f7dc8979086d467446f59ba41b (diff) | |
download | scummvm-rg350-5e413ceb5c5a319d540d5c7a328509ee69a627f1.tar.gz scummvm-rg350-5e413ceb5c5a319d540d5c7a328509ee69a627f1.tar.bz2 scummvm-rg350-5e413ceb5c5a319d540d5c7a328509ee69a627f1.zip |
- enabled debugger in QueenEngine::errorString
- initialise Cutaway::_personCount* when the Cutaway starts
- minor tweaks in BankManager
svn-id: r12163
Diffstat (limited to 'queen/cutaway.cpp')
-rw-r--r-- | queen/cutaway.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/queen/cutaway.cpp b/queen/cutaway.cpp index 0c80fdcbc9..fe7f1083c4 100644 --- a/queen/cutaway.cpp +++ b/queen/cutaway.cpp @@ -788,8 +788,6 @@ void Cutaway::handlePersonRecord( Person p; - _personFaceCount = 0; //Hello, please verify me. (Fixes crash on OSX) - if (object.objectNumber == OBJECT_JOE) { if (object.moveToX || object.moveToY) { _vm->walk()->moveJoe(0, object.moveToX, object.moveToY, true); @@ -874,6 +872,9 @@ void Cutaway::run(char *nextFilename) { _vm->logic()->sceneStart(); } + memset(_personFace, 0, sizeof(_personFace)); + _personFaceCount = 0; + byte *ptr = _objectData; for (i = 0; i < _cutawayObjectCount; i++) { |