From: Marek Moeckel Date: Sun, 9 Jan 2005 17:31:16 +0000 (+0000) Subject: fixed setup.cpp not finding correct data path X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=e80ffba71dffb1c5a98abb1ffb2014d6bf703263;p=supertux.git fixed setup.cpp not finding correct data path removed some old debug output SVN-Revision: 2274 --- diff --git a/lib/app/setup.cpp b/lib/app/setup.cpp index 7f3917b5e..af33a9804 100644 --- a/lib/app/setup.cpp +++ b/lib/app/setup.cpp @@ -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/"; } diff --git a/src/badguy/badguy.cpp b/src/badguy/badguy.cpp index 0b80172d1..690e97aa5 100644 --- a/src/badguy/badguy.cpp +++ b/src/badguy/badguy.cpp @@ -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) {