branch | noai |
changeset 9701 | d1ac22c62f64 |
parent 9629 | 66dde6412125 |
child 9704 | 197cb8c6ae17 |
--- a/src/blitter/32bpp_base.cpp Sun Aug 19 14:04:13 2007 +0000 +++ b/src/blitter/32bpp_base.cpp Sun Sep 02 11:17:33 2007 +0000 @@ -56,7 +56,7 @@ stepx = 1; } - this->SetPixel(video, x, y, color); + if (x > 0 && y > 0 && x < screen_width && y < screen_height) this->SetPixel(video, x, y, color); if (dx > dy) { frac = dy - (dx / 2); while (x != x2) {