diff options
author | Eugene Sandulenko | 2007-09-01 23:02:36 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-09-01 23:02:36 +0000 |
commit | fae7dcadbd4bf6bbbdf024d2762fb3228e7b2c1c (patch) | |
tree | 998ba43d9cab6502e2171e8bc2c43c4ceebe44ad /engines | |
parent | 41e72bfaaff114ceb68e3f377ea70ac75874f92f (diff) | |
download | scummvm-rg350-fae7dcadbd4bf6bbbdf024d2762fb3228e7b2c1c.tar.gz scummvm-rg350-fae7dcadbd4bf6bbbdf024d2762fb3228e7b2c1c.tar.bz2 scummvm-rg350-fae7dcadbd4bf6bbbdf024d2762fb3228e7b2c1c.zip |
Fix regression
svn-id: r28809
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/picture.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/agi/picture.cpp b/engines/agi/picture.cpp index 81a4f5a743..a46eb4a522 100644 --- a/engines/agi/picture.cpp +++ b/engines/agi/picture.cpp @@ -226,7 +226,7 @@ void PictureMgr::dynamicDrawLine() { putVirtPixel(x1, y1); for (;;) { - if ((disp = nextByte) >= 0xe0) + if ((disp = nextByte) >= 0xf0) break; dx = ((disp & 0xf0) >> 4) & 0x0f; @@ -257,10 +257,10 @@ void PictureMgr::absoluteDrawLine() { putVirtPixel(x1, y1); for (;;) { - if ((x2 = nextByte) >= 0xe0) + if ((x2 = nextByte) >= 0xf0) break; - if ((y2 = nextByte) >= 0xe0) + if ((y2 = nextByte) >= 0xf0) break; drawLine(x1, y1, x2, y2); @@ -363,14 +363,14 @@ void PictureMgr::xCorner() { for (;;) { x2 = nextByte; - if (x2 >= 0xe0) + if (x2 >= 0xf0) break; drawLine(x1, y1, x2, y1); x1 = x2; y2 = nextByte; - if (y2 >= 0xe0) + if (y2 >= 0xf0) break; drawLine(x1, y1, x1, y2); @@ -394,14 +394,14 @@ void PictureMgr::yCorner() { for (;;) { y2 = nextByte; - if (y2 >= 0xe0) + if (y2 >= 0xf0) break; drawLine(x1, y1, x1, y2); y1 = y2; x2 = nextByte; - if (x2 >= 0xe0) + if (x2 >= 0xf0) break; drawLine(x1, y1, x2, y1); @@ -419,7 +419,7 @@ void PictureMgr::yCorner() { void PictureMgr::fill() { int x1, y1; - while ((x1 = nextByte) < 0xe0 && (y1 = nextByte) < 0xe0) + while ((x1 = nextByte) < 0xf0 && (y1 = nextByte) < 0xf0) agiFill(x1, y1); foffs--; @@ -481,15 +481,15 @@ void PictureMgr::plotBrush() { for (;;) { if (patCode & 0x20) { - if ((patNum = nextByte) >= 0xe0) + if ((patNum = nextByte) >= 0xf0) break; patNum = (patNum >> 1) & 0x7f; } - if ((x1 = nextByte) >= 0xe0) + if ((x1 = nextByte) >= 0xf0) break; - if ((y1 = nextByte) >= 0xe0) + if ((y1 = nextByte) >= 0xf0) break; plotPattern(x1, y1); |