summaryrefslogtreecommitdiff
path: root/games/chromium/patches/35_powerup_crash.diff
diff options
context:
space:
mode:
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;
+ }
+ }
+ }