mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
A bit more logging cleanup
This commit is contained in:
parent
143ff682bc
commit
c293589c07
@ -34,17 +34,17 @@
|
||||
CBattleAnimation::CBattleAnimation(CBattleInterface * _owner)
|
||||
: owner(_owner), ID(_owner->animIDhelper++)
|
||||
{
|
||||
logAnim->traceStream() << "Animation #" << ID << " created";
|
||||
logAnim->trace("Animation #%d created", ID);
|
||||
}
|
||||
|
||||
CBattleAnimation::~CBattleAnimation()
|
||||
{
|
||||
logAnim->traceStream() << "Animation #" << ID << " deleted";
|
||||
logAnim->trace("Animation #%d deleted", ID);
|
||||
}
|
||||
|
||||
void CBattleAnimation::endAnim()
|
||||
{
|
||||
logAnim->traceStream() << "Animation #" << ID << " ended, type is " << typeid(this).name();
|
||||
logAnim->trace("Animation #%d ended, type is %s", ID, typeid(this).name());
|
||||
for(auto & elem : owner->pendingAnims)
|
||||
{
|
||||
if(elem.first == this)
|
||||
@ -151,7 +151,7 @@ CDefenceAnimation::CDefenceAnimation(StackAttackedInfo _attackedInfo, CBattleInt
|
||||
attacker(_attackedInfo.attacker), rangedAttack(_attackedInfo.indirectAttack),
|
||||
killed(_attackedInfo.killed), timeToWait(0)
|
||||
{
|
||||
logAnim->debugStream() << "Created defence anim for " << _attackedInfo.defender->getName();
|
||||
logAnim->debug("Created defence anim for %s", _attackedInfo.defender->getName());
|
||||
}
|
||||
|
||||
bool CDefenceAnimation::init()
|
||||
|
Loading…
Reference in New Issue
Block a user