(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.

This commit is contained in:
rubidium
2008-05-18 20:40:30 +00:00
parent 9aa69db2e6
commit 6da56ee87e
7 changed files with 10 additions and 13 deletions

View File

@@ -352,7 +352,7 @@ private:
public:
ErrmsgWindow(Point pt, int width, int height, StringID msg1, StringID msg2, const Widget *widget, bool show_player_face) :
Window(pt.x, pt.y, width, height, NULL, WC_ERRMSG, widget),
Window(pt.x, pt.y, width, height, WC_ERRMSG, widget),
show_player_face(show_player_face)
{
this->duration = _patches.errmsg_duration;
@@ -532,7 +532,7 @@ struct TooltipsWindow : public Window
TooltipsWindow(int x, int y, int width, int height, const Widget *widget,
StringID str, uint paramcount, const uint64 params[]) :
Window(x, y, width, height, NULL, WC_TOOLTIPS, widget)
Window(x, y, width, height, WC_TOOLTIPS, widget)
{
this->string_id = str;
assert(sizeof(this->params[0]) == sizeof(params[0]));