summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-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;