diff options
author | Eugene Sandulenko | 2016-08-19 22:23:42 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-19 22:24:28 +0200 |
commit | 66a94b9eb96aa5132b39f053f74081b0dddc17f1 (patch) | |
tree | b3d62e2a856c2c6a5aee1f161dc287f95d2d977b | |
parent | 7f23c91de9a784ebbd92a566f9c20cfc2f8a7534 (diff) | |
download | scummvm-rg350-66a94b9eb96aa5132b39f053f74081b0dddc17f1.tar.gz scummvm-rg350-66a94b9eb96aa5132b39f053f74081b0dddc17f1.tar.bz2 scummvm-rg350-66a94b9eb96aa5132b39f053f74081b0dddc17f1.zip |
FULLPIPE: Fix flipVertical too
-rw-r--r-- | engines/fullpipe/gfx.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp index 2da97f4d34..b357bbd587 100644 --- a/engines/fullpipe/gfx.cpp +++ b/engines/fullpipe/gfx.cpp @@ -1135,9 +1135,11 @@ Bitmap *Bitmap::reverseImage(bool flip) { } Bitmap *Bitmap::flipVertical() { - _flipping = Graphics::FLIP_V; + Bitmap *b = new Bitmap(this); + + b->_flipping = Graphics::FLIP_V; - return this; + return b; } void Bitmap::drawShaded(int type, int x, int y, byte *palette, int alpha) { |