瀏覽代碼

Updated const.

toneyisnow 5 年之前
父節點
當前提交
a03e696ec0
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      client/battle/CBattleAnimations.cpp
  2. 1 1
      client/battle/CBattleAnimations.h

+ 1 - 1
client/battle/CBattleAnimations.cpp

@@ -90,7 +90,7 @@ CBattleStackAnimation::CBattleStackAnimation(CBattleInterface * owner, const CSt
 	assert(myAnim);
 	assert(myAnim);
 }
 }
 
 
-void CBattleStackAnimation::shiftColor(ColorShifter * shifter)
+void CBattleStackAnimation::shiftColor(const ColorShifter * shifter)
 {
 {
 	assert(myAnim);
 	assert(myAnim);
 	myAnim->shiftColor(shifter);
 	myAnim->shiftColor(shifter);

+ 1 - 1
client/battle/CBattleAnimations.h

@@ -44,7 +44,7 @@ public:
 
 
 	CBattleStackAnimation(CBattleInterface * _owner, const CStack * _stack);
 	CBattleStackAnimation(CBattleInterface * _owner, const CStack * _stack);
 
 
-	void shiftColor(ColorShifter * shifter);
+	void shiftColor(const ColorShifter * shifter);
 };
 };
 
 
 /// This class is responsible for managing the battle attack animation
 /// This class is responsible for managing the battle attack animation