diff options
author | Johannes Schickel | 2012-06-16 02:33:53 +0200 |
---|---|---|
committer | Johannes Schickel | 2012-06-16 02:38:59 +0200 |
commit | 2e97e043fb8610d1d85bbd3e5e2d7ad4990ef8a0 (patch) | |
tree | 1b991ecfea03ad9b496f2f23b7ca0cbe1afb7a58 /engines/lastexpress/data/animation.cpp | |
parent | 2afc0a5fbc963562b5826965f4498156d1767a62 (diff) | |
download | scummvm-rg350-2e97e043fb8610d1d85bbd3e5e2d7ad4990ef8a0.tar.gz scummvm-rg350-2e97e043fb8610d1d85bbd3e5e2d7ad4990ef8a0.tar.bz2 scummvm-rg350-2e97e043fb8610d1d85bbd3e5e2d7ad4990ef8a0.zip |
LASTEXPRESS: Get rid of casts on OSystem::copyRectToScreen calls.
Diffstat (limited to 'engines/lastexpress/data/animation.cpp')
-rw-r--r-- | engines/lastexpress/data/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/data/animation.cpp b/engines/lastexpress/data/animation.cpp index 28d30ec7d1..9d0ed532f2 100644 --- a/engines/lastexpress/data/animation.cpp +++ b/engines/lastexpress/data/animation.cpp @@ -272,7 +272,7 @@ void Animation::play() { draw(s); // XXX: Update the screen - g_system->copyRectToScreen((byte *)s->pixels, s->pitch, 0, 0, s->w, s->h); + g_system->copyRectToScreen(s->pixels, s->pitch, 0, 0, s->w, s->h); // Free the temporary surface s->free(); |