aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-03-09 22:12:52 +0100
committerStrangerke2014-03-09 22:12:52 +0100
commit72a548c8bc92be9d01fde023d9490110aa3bab71 (patch)
tree34488e68db6cf67cfa6331774d44ad627fbd20b4
parent864b97eb49a96a6d490611ac81109410b4a140d5 (diff)
downloadscummvm-rg350-72a548c8bc92be9d01fde023d9490110aa3bab71.tar.gz
scummvm-rg350-72a548c8bc92be9d01fde023d9490110aa3bab71.tar.bz2
scummvm-rg350-72a548c8bc92be9d01fde023d9490110aa3bab71.zip
GROOVIE: Remove two useless variables
-rw-r--r--engines/groovie/roq.cpp5
-rw-r--r--engines/groovie/roq.h3
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/groovie/roq.cpp b/engines/groovie/roq.cpp
index 4b3fb81828..cbaa992596 100644
--- a/engines/groovie/roq.cpp
+++ b/engines/groovie/roq.cpp
@@ -43,9 +43,8 @@
namespace Groovie {
-ROQPlayer::ROQPlayer(GroovieEngine *vm) :
- VideoPlayer(vm), _codingTypeCount(0),
- _fg(&_vm->_graphicsMan->_foreground), _bg(&_vm->_graphicsMan->_background) {
+ROQPlayer::ROQPlayer(GroovieEngine *vm) : VideoPlayer(vm), _codingTypeCount(0), _bg(&_vm->_graphicsMan->_background) {
+ // _fg = &_vm->_graphicsMan->_foreground;
// Create the work surfaces
_currBuf = new Graphics::Surface();
diff --git a/engines/groovie/roq.h b/engines/groovie/roq.h
index 0e82983e63..b5e63c2b4a 100644
--- a/engines/groovie/roq.h
+++ b/engines/groovie/roq.h
@@ -75,7 +75,8 @@ private:
byte _codebook4[256 * 4];
// Buffers
- Graphics::Surface *_fg, *_bg, *_thirdBuf;
+ // Graphics::Surface *_fg, *_thirdBuf;
+ Graphics::Surface *_bg;
Graphics::Surface *_currBuf, *_prevBuf;
void buildShowBuf();
byte _scaleX, _scaleY;