diff options
Diffstat (limited to 'pokemod/CoinList.cpp')
| -rw-r--r-- | pokemod/CoinList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemod/CoinList.cpp b/pokemod/CoinList.cpp index 9ecddc2f..60abab92 100644 --- a/pokemod/CoinList.cpp +++ b/pokemod/CoinList.cpp @@ -267,6 +267,6 @@ CoinList& CoinList::operator=(const CoinList& rhs) name = rhs.name; items.clear(); for (int i = 0; i < rhs.getItemCount(); ++i) - newItem(*rhs.getItem(i)); + items.append(CoinListObject(pokemod, *rhs.getItem(i), rhs.getItem(i)->getId())); return *this; } |
