diff options
author | Oystein Eftevaag | 2006-01-08 21:05:16 +0000 |
---|---|---|
committer | Oystein Eftevaag | 2006-01-08 21:05:16 +0000 |
commit | 3b6985e896f075f347b43e2aa985dded996d9061 (patch) | |
tree | cf279b2a8c22b41beeb4bafa3f00994eb96fadfb | |
parent | 7a05a80b8f01800570db737f68ae415db152c3bd (diff) | |
download | scummvm-rg350-3b6985e896f075f347b43e2aa985dded996d9061.tar.gz scummvm-rg350-3b6985e896f075f347b43e2aa985dded996d9061.tar.bz2 scummvm-rg350-3b6985e896f075f347b43e2aa985dded996d9061.zip |
Removed exiting the game on ESC, and making yet another sprite width adjustment (to fix some graphics glitches).
svn-id: r19953
-rw-r--r-- | kyra/kyra.cpp | 2 | ||||
-rw-r--r-- | kyra/sprites.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kyra/kyra.cpp b/kyra/kyra.cpp index 3706f93204..f37d66daa3 100644 --- a/kyra/kyra.cpp +++ b/kyra/kyra.cpp @@ -591,7 +591,7 @@ void KyraEngine::delay(uint32 amount, bool update) { while (_system->pollEvent(event)) { switch (event.type) { case OSystem::EVENT_KEYDOWN: - if (event.kbd.keycode == 'q' || event.kbd.keycode == 27) { + if (event.kbd.keycode == 'q') { _quitFlag = true; } else if (event.kbd.keycode == 'd' && !_debugger->isAttached()) { _debugger->attach(); diff --git a/kyra/sprites.cpp b/kyra/sprites.cpp index 31b0bc85cd..89bdc0cbb6 100644 --- a/kyra/sprites.cpp +++ b/kyra/sprites.cpp @@ -88,7 +88,7 @@ void Sprites::setupSceneAnims() { data += 4; _anims[i].y = READ_LE_UINT16(data); data += 4; - _anims[i].width = *(data) + 1; + _anims[i].width = *(data)/8 + 1; data += 4; _anims[i].height = *(data); data += 4; |