From a03e696ec0c785251f85b75e6b6240e1e6759d92 Mon Sep 17 00:00:00 2001 From: toneyisnow Date: Sun, 26 Jan 2020 16:18:07 -0800 Subject: [PATCH] Updated const. --- client/battle/CBattleAnimations.cpp | 2 +- client/battle/CBattleAnimations.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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