QUEEN: Remove unused variable

As far as I can tell, this 'canQuit' variable (originally 'CANTQUIT')
has been replaced by the _vm->input->canQuit() method in all other
cases. However, I'm not at all sure what effect this change will have.
This commit is contained in:
Torbjörn Andersson 2011-11-20 10:37:44 +01:00
parent d206f591c9
commit 055260769c

View file

@ -373,7 +373,6 @@ byte *Talk::loadDialogFile(const char *filename) {
void Talk::load(const char *filename) {
int i;
byte *ptr = _fileData = loadDialogFile(filename);
bool canQuit; // FIXME: unused
// Load talk header
@ -381,9 +380,9 @@ void Talk::load(const char *filename) {
if (_levelMax < 0) {
_levelMax = -_levelMax;
canQuit = false;
_vm->input()->canQuit(false);
} else {
canQuit = true;
_vm->input()->canQuit(true);
}
_uniqueKey = (int16)READ_BE_INT16(ptr); ptr += 2;