diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/netconnection.cc | 4 | ||||
-rw-r--r-- | src/filesystem/inifile.cc | 2 | ||||
-rw-r--r-- | src/filesystem/inifile.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/core/netconnection.cc b/src/core/netconnection.cc index 455c03d..b87477b 100644 --- a/src/core/netconnection.cc +++ b/src/core/netconnection.cc @@ -154,7 +154,7 @@ void NetConnection::parse_incoming_message(const std::string & message) msgstream >> id; Entity *e = Entity::find(id); - con_debug << "Received die entity id " << id << "\n"; + //con_debug << "Received die entity id " << id << "\n"; if (localcontrol() == e) localplayer()->player_control = 0; @@ -165,7 +165,7 @@ void NetConnection::parse_incoming_message(const std::string & message) unsigned int type; msgstream >> type; - con_debug << "Received create entity type " << type << "\n"; + //con_debug << "Received create entity type " << type << "\n"; switch (type) { case Entity::Default: diff --git a/src/filesystem/inifile.cc b/src/filesystem/inifile.cc index 8b6e8ad..02dbcf8 100644 --- a/src/filesystem/inifile.cc +++ b/src/filesystem/inifile.cc @@ -100,7 +100,7 @@ bool IniFile::getline() { return false; } -bool IniFile::got_key_string(char * const keylabel, std::string & valuestring) { +bool IniFile::got_key_string(const char * keylabel, std::string & valuestring) { //condebug << "IniFile got_value_string " << keylabel << " " << last_read_was_key << std::endl; if (last_read_was_key && (key_current.compare(keylabel) == 0 )) { valuestring.assign(value_current); diff --git a/src/filesystem/inifile.h b/src/filesystem/inifile.h index ba7eb6a..632d432 100644 --- a/src/filesystem/inifile.h +++ b/src/filesystem/inifile.h @@ -58,7 +58,7 @@ public: } /// check if the last read key=value pair matches keylabel and store the value in valuestring - bool got_key_string(char * const keylabel, std::string & valuestring); + bool got_key_string(const char * keylabel, std::string & valuestring); inline unsigned int line() const { return line_number; |