Saner life expectancy
authorTim Goya <tuxdev103@gmail.com>
Sun, 4 Feb 2007 04:20:38 +0000 (04:20 +0000)
committerTim Goya <tuxdev103@gmail.com>
Sun, 4 Feb 2007 04:20:38 +0000 (04:20 +0000)
SVN-Revision: 4790

src/object/player.cpp

index 2fd96fe..5fa91de 100644 (file)
@@ -1127,7 +1127,7 @@ Player::kill(bool completely)
               Vector(systemRandom.rand(5), systemRandom.rand(-32,18)),
               systemRandom.rand(-100,100)));
       }
-      player_status->coins -= 25;
+      player_status->coins -= std::max(player_status->coins/10, 25);
     }
     else
     {