Make sure HostAddr buffer is directly saved as soon as we confirm it in the entry field

This commit is contained in:
zicodxx 2009-02-08 12:55:50 +00:00
parent ecbcec78d3
commit 4ee0b415ad
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@ D1X-Rebirth Changelog
20090208
--------
main/multi.c: Fixed connect-state mess in order of kmatrix flow
main/menu.c: Make sure HostAddr buffer is directly saved as soon as we confirm it in the entry field
20090206
--------

View file

@ -878,6 +878,7 @@ void do_ip_manual_join_menu()
choice = newmenu_do1( NULL, "ENTER IP OR HOSTNAME", num_options, m, NULL, choice );
if ( choice > -1 ){
strncpy(GameCfg.MplIpHostAddr, buf, 128);
UDPConnectManual(buf);
}