1
0
Fork 0

Fix: EngineImageType mismatch between sizing and drawing in preview window (#14455)

pull/13303/merge
Jonathan G Rennison 2025-07-18 12:02:46 +01:00 committed by GitHub
parent 1b01a0636c
commit 03672ed8eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ struct EnginePreviewWindow : Window {
/* Get size of engine sprite, on loan from depot_gui.cpp */
EngineID engine = static_cast<EngineID>(this->window_number);
EngineImageType image_type = EIT_PURCHASE;
EngineImageType image_type = EIT_PREVIEW;
uint x, y;
int x_offs, y_offs;