diff options
Diffstat (limited to 'games/enigma/patches/patch-an')
-rw-r--r-- | games/enigma/patches/patch-an | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/games/enigma/patches/patch-an b/games/enigma/patches/patch-an new file mode 100644 index 00000000000..db28385d12f --- /dev/null +++ b/games/enigma/patches/patch-an @@ -0,0 +1,25 @@ +$NetBSD: patch-an,v 1.2.2.2 2005/05/06 00:30:17 salo Exp $ + +--- src/px/video.cc 2003-07-31 09:28:04.000000000 +0200 ++++ src/px/video.cc 2004-11-11 00:04:26.855388248 +0100 +@@ -207,16 +207,16 @@ + void set_pixels(int n, const int* xlist, const int* ylist, Uint32 color) + { + const int *xp = xlist, *yp = ylist; +- if (NOCLIP(gs)) { ++ if (NOCLIP(this->gs)) { + for (int i=n; i > 0; --i) { + int x = *xp++, y = *yp++; +- *pixel_pointer(x,y) = gs.pcolor; ++ *pixel_pointer(x,y) = this->gs.pcolor; + } + } else { + for (int i=n; i > 0; --i) { + int x = *xp++, y = *yp++; +- if (clip_pixel (gs, x, y)) +- *pixel_pointer(x,y) = gs.pcolor; ++ if (clip_pixel (this->gs, x, y)) ++ *pixel_pointer(x,y) = this->gs.pcolor; + } + } + } |