openttd updated to 1.5.0-beta2
--HG-- branch : openttd
This commit is contained in:
+3
-6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user