Use preview instead of purchase sprites for engine preview width calc.
This commit is contained in:
@@ -81,7 +81,7 @@ struct EnginePreviewWindow : Window {
|
||||
|
||||
/* Get size of engine sprite, on loan from depot_gui.cpp */
|
||||
EngineID engine = this->window_number;
|
||||
EngineImageType image_type = EIT_PURCHASE;
|
||||
EngineImageType image_type = EIT_PREVIEW;
|
||||
uint x, y;
|
||||
int x_offs, y_offs;
|
||||
|
||||
|
Reference in New Issue
Block a user