mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Overall improvements to log messages (#9598)
Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places.
This commit is contained in:
parent
3494475df1
commit
de73f989eb
22 changed files with 87 additions and 111 deletions
|
@ -2010,7 +2010,6 @@ void Game::processItemSelection(u16 *new_playeritem)
|
|||
for (u16 i = 0; i <= max_item; i++) {
|
||||
if (wasKeyDown((GameKeyType) (KeyType::SLOT_1 + i))) {
|
||||
*new_playeritem = i;
|
||||
infostream << "Selected item: " << new_playeritem << std::endl;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2039,7 +2038,7 @@ void Game::openInventory()
|
|||
if (!player || !player->getCAO())
|
||||
return;
|
||||
|
||||
infostream << "the_game: " << "Launching inventory" << std::endl;
|
||||
infostream << "Game: Launching inventory" << std::endl;
|
||||
|
||||
PlayerInventoryFormSource *fs_src = new PlayerInventoryFormSource(client);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue