Fix cursor position in the 'name' field in the player setup menu.

This closes #396.
This commit is contained in:
Yamagi Burmeister 2019-05-09 17:58:07 +02:00
parent f5d9c49f20
commit 9b80745d5d

View file

@ -3110,6 +3110,7 @@ StartServer_MenuInit(void)
s_hostname_field.length = 12;
s_hostname_field.visible_length = 12;
strcpy(s_hostname_field.buffer, Cvar_VariableString("hostname"));
s_hostname_field.cursor = strlen(s_hostname_field.buffer);
s_startserver_dmoptions_action.generic.type = MTYPE_ACTION;
s_startserver_dmoptions_action.generic.name = " deathmatch flags";