summaryrefslogtreecommitdiff
path: root/games/chromium/patches/35_powerup_crash.diff
blob: cbbe77e211f996cf5927b6b2580b7028236c41ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
 		}
 	}
 }