summaryrefslogtreecommitdiffstats
path: root/pokemod/CoinList.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-04-19 18:12:17 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-04-19 18:12:17 +0000
commitfe31331e2807634ae659e372358bac5781de9130 (patch)
tree6b208974e3f141e9b22152526e2d42e967bfd4ec /pokemod/CoinList.cpp
parent6679f5cffa9d35a23b76605ddfbf3257f882b6ee (diff)
[FIX] IndexException is more explicit
[FIX] Added SizeException for image validation [FIX] QPixmaps are now verified [FIX] Classes now use error and warning rather than throwing [FIX] Deleted Object.cpp git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@100 6ecfd1a5-f3ed-3746-8530-beee90d26b22
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);
}