summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/powermanga/files/powermanga-0.90-segfault.patch')
-rw-r--r--games-action/powermanga/files/powermanga-0.90-segfault.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/games-action/powermanga/files/powermanga-0.90-segfault.patch b/games-action/powermanga/files/powermanga-0.90-segfault.patch
deleted file mode 100644
index 58c47ed59571..000000000000
--- a/games-action/powermanga/files/powermanga-0.90-segfault.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=422915
-
---- tmp/powermanga-0.90.orig/src/shots.c
-+++ powermanga-0.90-dfsg/src/shots.c
-@@ -447,8 +447,6 @@
- {
- bullet->img_angle = (Sint16) (bullet->angle / PI_SUR_16);
- }
-- /* save current angle for the calculation of the next angle */
-- bullet->img_old_angle = bullet->img_angle;
- /* avoid negative indexes */
- bullet->img_angle = (Sint16) abs (bullet->img_angle);
- /* avoid a shot angle higher than the number of images */
-@@ -456,6 +454,8 @@
- {
- bullet->img_angle = (Sint16) (bullet->spr.numof_images - 1);
- }
-+ /* save current angle for the calculation of the next angle */
-+ bullet->img_old_angle = bullet->img_angle;
- /* draw the shot sprite */
- draw_sprite (bullet->spr.
- img[bullet->img_angle],