Use the KEYCODE constants.

svn-id: r27593
This commit is contained in:
Torbjörn Andersson 2007-06-21 19:33:05 +00:00
parent bd9ba26109
commit db8e5332fc
4 changed files with 14 additions and 12 deletions

View file

@ -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: