summaryrefslogtreecommitdiff
path: root/games/chromium/patches/35_powerup_crash.diff
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 20:00:32 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 20:00:32 +0200
commit09baa361ab7c744b1d229d4c1d88419d50ba6f5d (patch)
treeed858542d9b6c889c5055f77c40e9800a4552c15 /games/chromium/patches/35_powerup_crash.diff
parentc4df1fd635688d1450c790837526cc671b3c8bee (diff)
downloadslackbuilds-09baa361ab7c744b1d229d4c1d88419d50ba6f5d.tar.gz
games/chromium: Added to 12.0 repository
Diffstat (limited to 'games/chromium/patches/35_powerup_crash.diff')
-rw-r--r--games/chromium/patches/35_powerup_crash.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/chromium/patches/35_powerup_crash.diff b/games/chromium/patches/35_powerup_crash.diff
new file mode 100644
index 0000000000..cbbe77e211
--- /dev/null
+++ b/games/chromium/patches/35_powerup_crash.diff
@@ -0,0 +1,19 @@
+Index: chromium-0.9.12/src/HeroAircraft.cpp
+===================================================================
+--- chromium-0.9.12.orig/src/HeroAircraft.cpp 2007-04-06 22:27:23.000000000 +0200
++++ chromium-0.9.12/src/HeroAircraft.cpp 2007-04-06 22:28:08.000000000 +0200
+@@ -663,12 +663,12 @@
+ }
+ game->explosions->addExplo(Explosions::PowerBurst, pwrUp->pos);
+ delUp = pwrUp;
+- pwrUp = powerUps->getNext();
++ pwrUp = pwrUp->next;
+ powerUps->remove(delUp);
+ }
+ else
+ {
+- pwrUp = powerUps->getNext();
++ pwrUp = pwrUp->next;
+ }
+ }
+ }