]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/explosions.cpp
Capitalize Makefiles.
[quix0rs-blobwars.git] / src / explosions.cpp
index c5df00f26081bd3dc27a4c48fe82f149d2d1afee..e380ca00511bb307d3321e04fd8c0f2efb28115d 100644 (file)
@@ -1,5 +1,6 @@
 /*
-Copyright (C) 2004 Parallel Realities
+Copyright (C) 2004-2011 Parallel Realities
+Copyright (C) 2011-2015 Perpendicular Dimensions
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
@@ -90,7 +91,7 @@ void addExplosion(float x, float y, int radius, Entity *owner)
                                
                                if (owner == &player)
                                {
-                                       game.score += enemy->value;
+                                       addPlayerScore(enemy->value);
                                }
                        }