add input length cap
fix bogus s_bCancelled flag
This commit is contained in:
@@ -272,7 +272,13 @@ void ScreenEditMenu::MenuStart( PlayerNumber pn )
|
||||
bool bPromptToNameSteps = (action != EDIT_MENU_ACTION_EDIT && dc == DIFFICULTY_EDIT);
|
||||
if( bPromptToNameSteps )
|
||||
{
|
||||
SCREENMAN->TextEntry( SM_BackFromEditDescription, "Name this new edit.", GAMESTATE->m_pCurSteps[0]->GetDescription(), SetCurrentStepsDescription, DeleteCurrentSteps );
|
||||
SCREENMAN->TextEntry(
|
||||
SM_BackFromEditDescription,
|
||||
"Name the new edit.",
|
||||
GAMESTATE->m_pCurSteps[0]->GetDescription(),
|
||||
MAX_DESCRIPTION_LENGTH,
|
||||
SetCurrentStepsDescription,
|
||||
DeleteCurrentSteps );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user