diff --git a/Pokemon.cpp b/Pokemon.cpp index e81e992..621c6f6 100644 --- a/Pokemon.cpp +++ b/Pokemon.cpp @@ -18,7 +18,7 @@ olc::vi2d Pokemon::getCoordinate() { return { x, y }; }; -const vector allPokemon = { +vector allPokemon = { {1, "Bulbasaur"}, {2, "Ivysaur"}, {3, "Venusaur"}, diff --git a/Pokemon.h b/Pokemon.h index 0071b56..9159186 100644 --- a/Pokemon.h +++ b/Pokemon.h @@ -18,6 +18,6 @@ public: }; //global vector of 151 pokemon -extern const vector allPokemon; +extern vector allPokemon; #endif