Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 182077 Details for
Bug 238774
Please stabilize =dev-python/pygame-1.8.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix monsterz crashing at start
monsterz.patch (text/plain), 1.35 KB, created by
Martin DiViaio
on 2009-02-14 22:50:29 UTC
(
hide
)
Description:
Patch to fix monsterz crashing at start
Filename:
MIME Type:
Creator:
Martin DiViaio
Created:
2009-02-14 22:50:29 UTC
Size:
1.35 KB
patch
obsolete
>=== modified file 'monsterz.py' >--- monsterz.py 2008-11-06 08:17:19 +0000 >+++ monsterz.py 2008-12-26 00:29:33 +0000 >@@ -829,10 +829,10 @@ > pass > else: > for x in range(4): >- for y, p in enumerate(alpha[x]): >- alpha[x][y] = p * x / 4 >- for y, p in enumerate(alpha[406 - x - 1]): >- alpha[406 - x - 1][y] = p * x / 4 >+ for y in range(len(alpha[x])): >+ alpha[x][y] = alpha[x][y] * x / 4 >+ for y in range(len(alpha[406 - x - 1])): >+ alpha[406 - x - 1][y] = alpha[406 - x - 1][y] * x / 4 > for col in alpha: > l = len(col) > for y in range(4): >@@ -1287,10 +1287,10 @@ > pass > else: > for x in range(10): >- for y, p in enumerate(alpha[x]): >- alpha[x][y] = p * x / 12 >- for y, p in enumerate(alpha[406 - x - 1]): >- alpha[406 - x - 1][y] = p * x / 12 >+ for y in range(len(alpha[x])): >+ alpha[x][y] = alpha[x][y] * x / 12 >+ for y in range(len(alpha[406 - x - 1])): >+ alpha[406 - x - 1][y] = alpha[406 - x - 1][y] * x / 12 > del alpha > scroll.unlock() > system.blit(scroll, (13, 437))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 238774
: 182077