summaryrefslogtreecommitdiff
path: root/src/resources/colordb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-04 16:27:43 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-04 16:27:43 +0200
commit47aa9bcf5eb537456abc393699c8fec07a4d5153 (patch)
tree453309d61789d8b27879abcc98c013cc7affd576 /src/resources/colordb.h
parentc3669ceb38114c68a6de11de46b0d3fd3713db59 (diff)
downloadmanaverse-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.gz
manaverse-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.bz2
manaverse-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.xz
manaverse-47aa9bcf5eb537456abc393699c8fec07a4d5153.zip
Fix code style.
Diffstat (limited to 'src/resources/colordb.h')
-rw-r--r--src/resources/colordb.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/resources/colordb.h b/src/resources/colordb.h
index fb0da0036..ce128578e 100644
--- a/src/resources/colordb.h
+++ b/src/resources/colordb.h
@@ -32,8 +32,12 @@ namespace ColorDB
class ItemColor
{
public:
- ItemColor()
+ ItemColor():
+ id(0),
+ name(""),
+ color("")
{ }
+
ItemColor(int id, std::string name, std::string color)
{
this->id = id;