Use the KEYCODE constants.
svn-id: r27593
This commit is contained in:
parent
bd9ba26109
commit
db8e5332fc
4 changed files with 14 additions and 12 deletions
|
@ -429,7 +429,7 @@ void MoviePlayer::play(SequenceTextInfo *textList, uint32 numLines, int32 leadIn
|
|||
terminate = true;
|
||||
break;
|
||||
case Common::EVENT_KEYDOWN:
|
||||
if (event.kbd.keycode == 27)
|
||||
if (event.kbd.keycode == Common::KEYCODE_ESCAPE)
|
||||
terminate = true;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue