1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-23 20:24:12 +01:00

Codechange: Remove ZeroedMemoryAllocator from WindowDesc.

All members which are not intended to be changed are now const to ensure they are set
This commit is contained in:
Peter Nelson
2024-11-06 21:41:42 +00:00
committed by Peter Nelson
parent 95df7ea483
commit b7a82819de
2 changed files with 12 additions and 15 deletions

View File

@@ -114,9 +114,6 @@ WindowDesc::WindowDesc(WindowPosition def_pos, const char *ini_key, int16_t def_
flags(flags),
nwid_parts(nwid_parts),
hotkeys(hotkeys),
pref_sticky(false),
pref_width(0),
pref_height(0),
default_width_trad(def_width_trad),
default_height_trad(def_height_trad)
{