diff options
author | Travis Howell | 2006-07-08 23:38:29 +0000 |
---|---|---|
committer | Travis Howell | 2006-07-08 23:38:29 +0000 |
commit | 8cb98dc45ca85d2aab2ac4b9d0fa5d6e72521c8a (patch) | |
tree | 35932fd791f3d6601e972533a161a983186ef8b9 /engines | |
parent | 5e1bf440466c4634d8ecd5ebf57f1de9bec20730 (diff) | |
download | scummvm-rg350-8cb98dc45ca85d2aab2ac4b9d0fa5d6e72521c8a.tar.gz scummvm-rg350-8cb98dc45ca85d2aab2ac4b9d0fa5d6e72521c8a.tar.bz2 scummvm-rg350-8cb98dc45ca85d2aab2ac4b9d0fa5d6e72521c8a.zip |
Add fix for bug #1519327 - FF: Stack corruption
svn-id: r23442
Diffstat (limited to 'engines')
-rw-r--r-- | engines/simon/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/simon/animation.cpp b/engines/simon/animation.cpp index 85d77e77c7..8834ee6ffc 100644 --- a/engines/simon/animation.cpp +++ b/engines/simon/animation.cpp @@ -270,7 +270,7 @@ void MoviePlayer::setPalette(byte *pal) { byte palette[1024]; byte *p = palette; - for (int i = 0; i <= 256; i++) { + for (int i = 0; i < 256; i++) { *p++ = *pal++; *p++ = *pal++; *p++ = *pal++; |