diff options
author | Eugene Sandulenko | 2016-03-09 23:59:08 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-03-09 23:59:08 +0100 |
commit | 24af06b682c9d3a9eddc7ad8d19fbaeb0e750265 (patch) | |
tree | c05adfe87c97911da3d2ccff0fc83daf336e1104 /engines/wage | |
parent | 37b5b6417908c22a4f8526599b7814900bf1c5f5 (diff) | |
download | scummvm-rg350-24af06b682c9d3a9eddc7ad8d19fbaeb0e750265.tar.gz scummvm-rg350-24af06b682c9d3a9eddc7ad8d19fbaeb0e750265.tar.bz2 scummvm-rg350-24af06b682c9d3a9eddc7ad8d19fbaeb0e750265.zip |
WAGE: Disabling bounds calculation code as too buggy ATM.
Diffstat (limited to 'engines/wage')
-rw-r--r-- | engines/wage/design.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp index 677efd00e1..0a0cc0abe2 100644 --- a/engines/wage/design.cpp +++ b/engines/wage/design.cpp @@ -87,16 +87,16 @@ void Design::paint(Graphics::Surface *surface, Patterns &patterns, int x, int y) bool needRender = false; if (_surface == NULL) { - _boundsCalculationMode = true; + //_boundsCalculationMode = true; _bounds->debugPrint(4, "Internal bounds:"); - _bounds->left = _bounds->top = 10000; - _bounds->right =_bounds->bottom = -10000; - render(patterns); + //_bounds->left = _bounds->top = 10000; + //_bounds->right =_bounds->bottom = -10000; + //render(patterns); _boundsCalculationMode = false; if (_bounds->right == -10000) { _bounds->left = _bounds->top = _bounds->right = _bounds->bottom = 0; } - _bounds->debugPrint(4, "Calculated bounds:"); + //_bounds->debugPrint(4, "Calculated bounds:"); _surface = new Graphics::Surface; _surface->create(_bounds->width(), _bounds->height(), Graphics::PixelFormat::createFormatCLUT8()); |