diff --git a/src/include/color.h b/src/include/color.h index 6feeed9ccd..3ceaf65812 100644 --- a/src/include/color.h +++ b/src/include/color.h @@ -44,9 +44,9 @@ struct lua_State; class CColor { public: - CColor() : R(0), G(0), B(0), A(0) {} + CColor() : R(0), G(0), B(0), A(255) {} CColor(unsigned char r, unsigned char g, unsigned char b, - unsigned char a = 0) : R(r), G(g), B(b), A(a) {} + unsigned char a = 255) : R(r), G(g), B(b), A(a) {} CColor(const CColor &color) = default; void Parse(lua_State *l, int index = -1);