diff options
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r-- | src/news_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index 3863af991..d086223cb 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -254,7 +254,7 @@ struct NewsWindow : Window { case 0: if (this->ni->flags & NF_VEHICLE) { - const Vehicle *v = GetVehicle(this->ni->data_a); + const Vehicle *v = Vehicle::Get(this->ni->data_a); ScrollMainWindowTo(v->x_pos, v->y_pos, v->z_pos); } else if (this->ni->flags & NF_TILE) { if (_ctrl_pressed) { |