fixed setup.cpp not finding correct data path
authorMarek Moeckel <wansti@gmx.de>
Sun, 9 Jan 2005 17:31:16 +0000 (17:31 +0000)
committerMarek Moeckel <wansti@gmx.de>
Sun, 9 Jan 2005 17:31:16 +0000 (17:31 +0000)
removed some old debug output

SVN-Revision: 2274

lib/app/setup.cpp
src/badguy/badguy.cpp

index 7f3917b..af33a98 100644 (file)
@@ -303,7 +303,7 @@ void Setup::directories()
 
   // try current directory as datadir
   if(datadir.empty()) {
-      if(FileSystem::faccessible("./data/intro.txt"))
+     if(FileSystem::faccessible("./data/credits.txt"))
           datadir = "./data/";
   }
 
index 0b80172..690e97a 100644 (file)
@@ -136,7 +136,6 @@ BadGuy::collision_player(Player& player, const CollisionHit& hit)
     //      give badguys some invincible time (prevent them from being hit multiple times)
     //      use hitpoints also when hit by fireball or invincible tux
     hitpoints--;
-    std::cout << "Hitpoints: " << hitpoints << std::endl;
     if(collision_squished(player))
       return ABORT_MOVE;
     else if (hitpoints <= 0) {