diff options
| author | Paweł Kołodziejski | 2002-10-27 15:16:49 +0000 | 
|---|---|---|
| committer | Paweł Kołodziejski | 2002-10-27 15:16:49 +0000 | 
| commit | 8e422b782515e3b1dbad2e003cdc42a652ac1ac9 (patch) | |
| tree | 08545f1463a85ec39c864166484546b75badbd2e | |
| parent | ec343e07e4806ac9c384733890a4b50f32cb9d75 (diff) | |
| download | scummvm-rg350-8e422b782515e3b1dbad2e003cdc42a652ac1ac9.tar.gz scummvm-rg350-8e422b782515e3b1dbad2e003cdc42a652ac1ac9.tar.bz2 scummvm-rg350-8e422b782515e3b1dbad2e003cdc42a652ac1ac9.zip | |
patch: #629413 - DOTT intro fix
svn-id: r5335
| -rw-r--r-- | scumm/gfx.cpp | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index d7b1996074..19965a6c1b 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -898,6 +898,9 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, int h,  		if (vs->scrollable)  			sx -= vs->xstart >> 3; +		if (sx < 0) +			goto next_iter; +  		if (sx >= _numStrips)  			return; @@ -993,6 +996,8 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, int h,  				}  			}  		} + +next_iter:  		CHECK_HEAP;  		x++;  		stripnr++; | 
