diff options
author | Torbjörn Andersson | 2011-11-20 10:37:44 +0100 |
---|---|---|
committer | Torbjörn Andersson | 2011-11-20 10:37:44 +0100 |
commit | 055260769cd570f255eeaf57317eb0c62fce111c (patch) | |
tree | dc79dc6d24161cb54fa7d44aba473ca23dd6e105 /engines/queen | |
parent | d206f591c95eb850e74c9c7886194302ba009ed0 (diff) | |
download | scummvm-rg350-055260769cd570f255eeaf57317eb0c62fce111c.tar.gz scummvm-rg350-055260769cd570f255eeaf57317eb0c62fce111c.tar.bz2 scummvm-rg350-055260769cd570f255eeaf57317eb0c62fce111c.zip |
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.
Diffstat (limited to 'engines/queen')
-rw-r--r-- | engines/queen/talk.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/queen/talk.cpp b/engines/queen/talk.cpp index 307425b77b..f38c78c825 100644 --- a/engines/queen/talk.cpp +++ b/engines/queen/talk.cpp @@ -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; |