1
0
Fork 0

Compare commits

...

3 Commits

Author SHA1 Message Date
Tyler Trahan 45fa6c3e3a
Merge e4861f9322 into 03672ed8eb 2025-07-18 11:02:57 +00:00
Jonathan G Rennison 03672ed8eb
Fix: EngineImageType mismatch between sizing and drawing in preview window (#14455) 2025-07-18 07:02:46 -04:00
Tyler Trahan e4861f9322 Fix b2f5a49: Add "place houses" setting to Sandbox Options 2025-02-10 07:48:12 -05:00
2 changed files with 2 additions and 2 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;

View File

@ -86,7 +86,7 @@ cat = SC_BASIC
[SDT_VAR]
var = economy.place_houses
type = SLE_UINT8
flags = SettingFlag::GuiDropdown
flags = SettingFlag::GuiDropdown, SettingFlag::Sandbox
def = PH_FORBIDDEN
min = PH_FORBIDDEN
max = PH_ALLOWED_CONSTRUCTED