Fix for compilation issue when using NO_ASSERT.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-22 12:54:11 +02:00
parent 331767789c
commit ddbf4c23b8
3 changed files with 4 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ namespace CreatureLib::Battling {
AttackLearnMethod _learnMethod;
public:
LearnedAttack(Library::AttackData* attack, uint8_t maxUses, AttackLearnMethod learnMethod);
LearnedAttack(const Library::AttackData* attack, uint8_t maxUses, AttackLearnMethod learnMethod);
LearnedAttack(const Library::AttackData* attack, AttackLearnMethod learnMethod);
virtual ~LearnedAttack() = default;