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