Bläddra i källkod

Updated const.

toneyisnow 5 år sedan
förälder
incheckning
a03e696ec0
2 ändrade filer med 2 tillägg och 2 borttagningar
  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);
 }
 
-void CBattleStackAnimation::shiftColor(ColorShifter * shifter)
+void CBattleStackAnimation::shiftColor(const ColorShifter * shifter)
 {
 	assert(myAnim);
 	myAnim->shiftColor(shifter);

+ 1 - 1
client/battle/CBattleAnimations.h

@@ -44,7 +44,7 @@ public:
 
 	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