(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
This commit is contained in:
@@ -35,7 +35,7 @@ private:
|
||||
public:
|
||||
WaypointWindow(const WindowDesc *desc, WindowNumber window_number) : Window(desc, window_number)
|
||||
{
|
||||
this->wp = GetWaypoint(this->window_number);
|
||||
this->wp = Waypoint::Get(this->window_number);
|
||||
if (this->wp->owner != OWNER_NONE) this->owner = this->wp->owner;
|
||||
|
||||
this->flags4 |= WF_DISABLE_VP_SCROLL;
|
||||
|
Reference in New Issue
Block a user