diff --git a/src/Library/CreatureData/LearnableAttacks.hpp b/src/Library/CreatureData/LearnableAttacks.hpp index ae291af..fb85add 100644 --- a/src/Library/CreatureData/LearnableAttacks.hpp +++ b/src/Library/CreatureData/LearnableAttacks.hpp @@ -33,7 +33,7 @@ namespace CreatureLib::Library { const List& GetAttacksForLevel(uint8_t level) const; - virtual const AttackData* GetRandomAttack(Arbutils::Random rand = Arbutils::Random()) const { + virtual const AttackData* GetRandomAttack(Arbutils::Random& rand) const { if (_distinctAttacks.empty()) { return nullptr; }