mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Improve readability and infos in verbose log (#13828)
This commit is contained in:
parent
5949172735
commit
c3114132d3
11 changed files with 26 additions and 51 deletions
|
@ -357,7 +357,6 @@ bool GenericCAO::collideWithObjects() const
|
|||
|
||||
void GenericCAO::initialize(const std::string &data)
|
||||
{
|
||||
infostream<<"GenericCAO: Got init data"<<std::endl;
|
||||
processInitData(data);
|
||||
|
||||
m_enable_shaders = g_settings->getBool("enable_shaders");
|
||||
|
@ -393,8 +392,7 @@ void GenericCAO::processInitData(const std::string &data)
|
|||
}
|
||||
|
||||
const u8 num_messages = readU8(is);
|
||||
|
||||
for (int i = 0; i < num_messages; i++) {
|
||||
for (u8 i = 0; i < num_messages; i++) {
|
||||
std::string message = deSerializeString32(is);
|
||||
processMessage(message);
|
||||
}
|
||||
|
@ -1704,8 +1702,6 @@ void GenericCAO::processMessage(const std::string &data)
|
|||
if (expire_visuals) {
|
||||
expireVisuals();
|
||||
} else {
|
||||
infostream << "GenericCAO: properties updated but expiring visuals"
|
||||
<< " not necessary" << std::endl;
|
||||
if (textures_changed) {
|
||||
// don't update while punch texture modifier is active
|
||||
if (m_reset_textures_timer < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue