Fix for GCC.
This commit is contained in:
@@ -13,7 +13,7 @@ namespace PkmnLibAI {
|
||||
auto c = battle->GetCreature(target).GetValue();
|
||||
|
||||
auto highestScore = -1;
|
||||
PkmnLib::Battling::LearnedMove* bestMove;
|
||||
PkmnLib::Battling::LearnedMove* bestMove = nullptr;
|
||||
for (auto move : user->GetMoves()) {
|
||||
if (!move.HasValue()) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user