diff options
author | Ira Rice <irarice@gmail.com> | 2008-10-19 23:07:35 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-10-19 23:07:35 +0000 |
commit | e57f4ec64f53091dd254c2ee2db9592d30a5af0b (patch) | |
tree | ef002e7fb4b0dfb5b06dd4e4c2d95b9f3b06f920 /src/resources | |
parent | be1af40e371845bcad1337cc59e5f5ac0f991f02 (diff) | |
download | mana-client-e57f4ec64f53091dd254c2ee2db9592d30a5af0b.tar.gz mana-client-e57f4ec64f53091dd254c2ee2db9592d30a5af0b.tar.bz2 mana-client-e57f4ec64f53091dd254c2ee2db9592d30a5af0b.tar.xz mana-client-e57f4ec64f53091dd254c2ee2db9592d30a5af0b.zip |
Fixed a small error that I didn't notice before with de-hardcoding the
colors. Thanks goes to paks for noticing this.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/colordb.cpp | 2 | ||||
-rw-r--r-- | src/resources/colordb.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/colordb.cpp b/src/resources/colordb.cpp index 837561ed..f738b471 100644 --- a/src/resources/colordb.cpp +++ b/src/resources/colordb.cpp @@ -113,7 +113,7 @@ std::string& ColorDB::get(int id) } } -const int& ColorDB::size() +int ColorDB::size() { return mColors.size(); } diff --git a/src/resources/colordb.h b/src/resources/colordb.h index 43398af4..1f8b191c 100644 --- a/src/resources/colordb.h +++ b/src/resources/colordb.h @@ -42,7 +42,7 @@ namespace ColorDB std::string& get(int id); - const int& size(); + int size(); // Color DB typedef std::map<int, std::string> Colors; |