|
From: Tapio V. <aa...@us...> - 2009-10-29 22:19:52
|
Module: performous
Branch: master
Commit: 27e2ac715817b138440abb81fa0eebd9e91ba8b7
Author: Tapio Vierros <tap...@gm...>
Date: Fri Oct 30 00:18:20 2009 +0200
Removed a debug message and elaborated scanning message.
---
game/backgrounds.cc | 2 +-
game/backgrounds.hh | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/game/backgrounds.cc b/game/backgrounds.cc
index 14816f8..365d741 100644
--- a/game/backgrounds.cc
+++ b/game/backgrounds.cc
@@ -31,7 +31,7 @@ void Backgrounds::reload_internal() {
m_dirty = true;
}
for (BGDirs::const_iterator it = m_bgdirs.begin(); m_loading && it != m_bgdirs.end(); ++it) {
- if (!fs::is_directory(*it)) { std::cout << ">>> Not scanning: " << *it << " (no such directory)" << std::endl; continue; }
+ if (!fs::is_directory(*it)) { std::cout << ">>> Not scanning for backgrounds: " << *it << " (no such directory)" << std::endl; continue; }
std::cout << ">>> Scanning " << *it << " (for backgrounds)" << std::endl;
size_t count = m_bgs.size();
reload_internal(*it);
diff --git a/game/backgrounds.hh b/game/backgrounds.hh
index 5d85da6..a193c6d 100644
--- a/game/backgrounds.hh
+++ b/game/backgrounds.hh
@@ -16,7 +16,6 @@ class Backgrounds: boost::noncopyable {
/// constructor
Backgrounds(): m_bgiter(0), m_dirty(false), m_loading(false)
{
- std::cout << "BACKGROUNDS!" << std::endl;
reload();
}
~Backgrounds() {
|