diff --git a/client/battle/CBattleAnimations.cpp b/client/battle/CBattleAnimations.cpp index e76bf7fce..b91535596 100644 --- a/client/battle/CBattleAnimations.cpp +++ b/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); diff --git a/client/battle/CBattleAnimations.h b/client/battle/CBattleAnimations.h index e07ca061d..c6cb6c849 100644 --- a/client/battle/CBattleAnimations.h +++ b/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