summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-01-14 16:35:49 +0000
committerpeter1138 <peter1138@openttd.org>2008-01-14 16:35:49 +0000
commitbf0a7ae4fba037d4e453aa50c440170804257157 (patch)
tree17c5061d4b5993547bf3202470c2118beeccba32 /src
parente4c05f8d789b8a83159313d3ce745745038a7b67 (diff)
downloadopenttd-bf0a7ae4fba037d4e453aa50c440170804257157.tar.xz
(svn r11849) -Fix (r11848): Incomplete(?) class broke MSVC/mingw compilation
Diffstat (limited to 'src')
-rw-r--r--src/widgets/dropdown_type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/dropdown_type.h b/src/widgets/dropdown_type.h
index 650edc5b1..07390fb02 100644
--- a/src/widgets/dropdown_type.h
+++ b/src/widgets/dropdown_type.h
@@ -42,6 +42,8 @@ class DropDownListParamStringItem : public DropDownListStringItem {
public:
uint64 decode_params[10]; ///< Parameters of the string
+ DropDownListParamStringItem(StringID string, uint result, bool masked) : DropDownListStringItem(string, result, masked) {}
+
StringID String() const;
void SetParam(uint index, uint64 value) { decode_params[index] = value; }
};