1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

Remove excessive logging on using Recanter's Cloak in siege of Tower

This commit is contained in:
Ivan Savenko
2024-01-05 18:31:07 +02:00
parent 296310e32e
commit 1519de60bf

View File

@ -71,7 +71,8 @@ SilentCaster::SilentCaster(PlayerColor owner_, const Caster * hero_):
void SilentCaster::getCasterName(MetaString & text) const void SilentCaster::getCasterName(MetaString & text) const
{ {
logGlobal->error("Unexpected call to SilentCaster::getCasterName"); // NOTE: can be triggered (for example) if creature steps into Tower mines/moat while hero has Recanter's Cloak
logGlobal->debug("Unexpected call to SilentCaster::getCasterName");
} }
void SilentCaster::getCastDescription(const Spell * spell, const std::vector<const battle::Unit *> & attacked, MetaString & text) const void SilentCaster::getCastDescription(const Spell * spell, const std::vector<const battle::Unit *> & attacked, MetaString & text) const