summaryrefslogtreecommitdiffstats
path: root/pokemod/CoinList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/CoinList.cpp')
-rw-r--r--pokemod/CoinList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemod/CoinList.cpp b/pokemod/CoinList.cpp
index e0b9f2fb..8c40db89 100644
--- a/pokemod/CoinList.cpp
+++ b/pokemod/CoinList.cpp
@@ -169,7 +169,7 @@ int CoinList::value() const
const CoinListObject* CoinList::object(const int index) const throw(IndexException)
{
if (objectCount() <= index)
- error<IndexException>("object");
+ warning<IndexException>("object");
return m_objects.at(index);
}