This commit is contained in:
1 file changed
+2
-2
@@ -35,8 +35,8 @@ namespace PkmnLib::Battling {
|
||||
|
||||
const bool IsShiny() const { return _coloring == 1; }
|
||||
|
||||
const std::vector<const LearnedMove*>& GetMoves() const {
|
||||
return (const std::vector<const LearnedMove*>&)_attacks;
|
||||
const std::vector<LearnedMove*>& GetMoves() const {
|
||||
return reinterpret_cast<const std::vector<LearnedMove*>&>(_attacks);
|
||||
}
|
||||
|
||||
const Library::Nature& GetNature() const;
|
||||
|
||||
Reference in new issue
Block a user