Fix compile. (I think this is correct based on what another screen does.)

This commit is contained in:
Steve Checkoway
2005-07-16 09:33:20 +00:00
parent e89fc67e4d
commit 575ac70ef4
+1 -1
View File
@@ -145,7 +145,7 @@ void ScreenProfileOptions::HandleScreenMessage( const ScreenMessage SM )
if( !ScreenTextEntry::s_bCancelledLast && ScreenTextEntry::s_sLastAnswer != "" )
{
CString sNewName = ScreenTextEntry::s_sLastAnswer;
bool bResult = PROFILEMAN->CreateLocalProfile( sNewName );
bool bResult = PROFILEMAN->CreateLocalProfile( sNewName, GAMESTATE->m_sLastSelectedProfileID );
if( bResult )
SCREENMAN->SetNewScreen( m_sName ); // reload
else