浏览代码

Added logging for CDummyAnimation creation (like other types)

AlexVinS 10 年之前
父节点
当前提交
9d0a1f0eef
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      client/battle/CBattleAnimations.cpp

+ 3 - 1
client/battle/CBattleAnimations.cpp

@@ -283,7 +283,9 @@ void CDefenceAnimation::endAnim()
 
 CDummyAnimation::CDummyAnimation(CBattleInterface * _owner, int howManyFrames) 
 : CBattleAnimation(_owner), counter(0), howMany(howManyFrames)
-{}
+{
+	logAnim->debugStream() << "Created dummy animation for " << howManyFrames <<" frames";
+}
 
 bool CDummyAnimation::init()
 {