diff options
Diffstat (limited to 'games-puzzle/monsterz/files/monsterz-0.7.1-64bit.patch')
-rw-r--r-- | games-puzzle/monsterz/files/monsterz-0.7.1-64bit.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/games-puzzle/monsterz/files/monsterz-0.7.1-64bit.patch b/games-puzzle/monsterz/files/monsterz-0.7.1-64bit.patch deleted file mode 100644 index 64d6527768f8..000000000000 --- a/games-puzzle/monsterz/files/monsterz-0.7.1-64bit.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: monsterz-0.7.1/monsterz.py -=================================================================== ---- monsterz-0.7.1.orig/monsterz.py 2008-05-09 16:35:25.000000000 +0000 -+++ monsterz-0.7.1/monsterz.py 2008-05-09 16:35:33.000000000 +0000 -@@ -108,7 +108,9 @@ - M = int(max(r, g, b)) - m = int(min(r, g, b)) - val = (2 * M + r + g + b) / 5 -- p[:] = (val + r) / 2, (val + g) / 2, (val + b) / 2 -+ p[0] = (val + r) / 2 -+ p[1] = (val + g) / 2 -+ p[2] = (val + b) / 2 - if alpha[y][x] >= 250: - alpha[y][x] = 255 - (M - m) * 3 / 4 - del pixels -@@ -129,7 +131,9 @@ - r, g, b = p - M = int(max(r, g, b)) - m = int(min(r, g, b)) -- p[:] = (m + r) / 2, (m + g) / 2, (m + b) / 2 -+ p[0] = (m + r) / 2 -+ p[1] = (m + g) / 2 -+ p[2] = (m + b) / 2 - if alpha[y][x] >= 250: - alpha[y][x] = 255 - M * 2 / 3 - del pixels |