aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap/gamesys.cpp
diff options
context:
space:
mode:
authorStrangerke2016-05-01 00:06:37 +0200
committerEugene Sandulenko2016-05-10 12:14:49 +0200
commit99580a1b088c9e199a50116dc3dca915142b7547 (patch)
treecc822de39b1625ad5a97756346e539f2c16732a0 /engines/gnap/gamesys.cpp
parenta2d45c70e9419cedb2e71a46d408cb19c720b6c2 (diff)
downloadscummvm-rg350-99580a1b088c9e199a50116dc3dca915142b7547.tar.gz
scummvm-rg350-99580a1b088c9e199a50116dc3dca915142b7547.tar.bz2
scummvm-rg350-99580a1b088c9e199a50116dc3dca915142b7547.zip
GNAP: Remove 3 CHECKMEs
Diffstat (limited to 'engines/gnap/gamesys.cpp')
-rw-r--r--engines/gnap/gamesys.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/gnap/gamesys.cpp b/engines/gnap/gamesys.cpp
index e7899a24e3..ad9d0da35f 100644
--- a/engines/gnap/gamesys.cpp
+++ b/engines/gnap/gamesys.cpp
@@ -52,7 +52,6 @@ GameSys::GameSys(GnapEngine *vm) : _vm(vm) {
_backgroundImageValue1 = 0;
_backgroundImageValue4 = 1000;
_backgroundImageValue2 = 1000;
- _backgroundImageError = true;
_gameSysClock = 0;
_lastUpdateClock = 0;
_backgroundSurface = nullptr;
@@ -172,7 +171,6 @@ void GameSys::setBackgroundSurface(Graphics::Surface *surface, int a4, int a5, i
_backgroundSurface = surface;
if (!_backgroundSurface) {
- _backgroundImageError = true;
return;
}
@@ -189,7 +187,6 @@ void GameSys::setBackgroundSurface(Graphics::Surface *surface, int a4, int a5, i
_vm->_system->copyRectToScreen(_frontSurface->getPixels(), _frontSurface->pitch, 0, 0, _frontSurface->w, _frontSurface->h);
- _backgroundImageError = false;
_backgroundImageValue1 = a4;
_backgroundImageValue3 = a6;
_backgroundImageValue2 = a5;