openttd updated to 1.5.0-beta2

--HG--
branch : openttd
This commit is contained in:
Pavel Stupnikov
2015-03-01 00:30:53 +03:00
parent 0abb47ce90
commit d201932121
682 changed files with 26103 additions and 16553 deletions
+3 -6
View File
@@ -1,4 +1,4 @@
/* $Id: tree_gui.cpp 25290 2013-05-26 19:25:01Z frosch $ */
/* $Id: tree_gui.cpp 26482 2014-04-23 20:13:33Z rubidium $ */
/*
* This file is part of OpenTTD.
@@ -25,6 +25,8 @@
#include "table/strings.h"
#include "table/tree_land.h"
#include "safeguards.h"
void PlaceTreesRandomly();
/** Tree Sprites with their palettes */
@@ -100,11 +102,6 @@ public:
}
}
virtual void OnPaint()
{
this->DrawWidgets();
}
virtual void DrawWidget(const Rect &r, int widget) const
{
if (widget < WID_BT_TYPE_11 || widget > WID_BT_TYPE_34 || widget - WID_BT_TYPE_11 >= this->count) return;