@@ -32,11 +32,7 @@ SaveMap::SaveMap(TSaveMapInfo *pInfo, CWnd* pParent /*=NULL*/)
32
32
: CDialog(SaveMap::IDD, pParent),
33
33
m_pInfo(pInfo)
34
34
{
35
- #if defined(RTS_DEBUG) || defined(RTS_INTERNAL)
36
35
m_pInfo->usingSystemDir = m_usingSystemDir = ::AfxGetApp ()->GetProfileInt (MAP_OPENSAVE_PANEL_SECTION, " UseSystemDir" , TRUE );
37
- #else
38
- m_pInfo->usingSystemDir = m_usingSystemDir = FALSE ;
39
- #endif
40
36
41
37
// {{AFX_DATA_INIT(SaveMap)
42
38
// NOTE: the ClassWizard will add member initialization here
@@ -121,9 +117,7 @@ void SaveMap::OnBrowse()
121
117
void SaveMap::populateMapListbox ( Bool systemMaps )
122
118
{
123
119
m_pInfo->usingSystemDir = m_usingSystemDir = systemMaps;
124
- #if defined(RTS_DEBUG) || defined(RTS_INTERNAL)
125
120
::AfxGetApp ()->WriteProfileInt(MAP_OPENSAVE_PANEL_SECTION, " UseSystemDir" , m_usingSystemDir);
126
- #endif
127
121
128
122
HANDLE hFindFile = 0 ;
129
123
WIN32_FIND_DATA findData;
@@ -225,12 +219,9 @@ BOOL SaveMap::OnInitDialog()
225
219
if (pUserMaps != NULL )
226
220
pUserMaps->SetCheck ( !m_usingSystemDir );
227
221
228
- #if !defined(RTS_DEBUG) && !defined(RTS_INTERNAL)
229
- if (pSystemMaps)
230
- pSystemMaps->ShowWindow ( FALSE );
231
- if (pUserMaps)
232
- pUserMaps->ShowWindow ( FALSE );
233
- #endif
222
+ // TheSuperHackers @tweak Originally World Builder has hidden the System Maps tab button in Release builds,
223
+ // perhaps with the intention to only show User Maps to community users. However, World Builder did release
224
+ // as a Debug build and always had the System Maps tab, therefore this now shows it always for simplicity.
234
225
235
226
populateMapListbox ( m_usingSystemDir );
236
227
0 commit comments