diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e10276dab..1c2ffa921 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,9 @@ D1X-Rebirth Changelog +20100901 +-------- +main/net_ipx.c, main/net_udp.c: in pdata communication swap_bytes was set for create_shortpos causing problems on PPC architecture; in multiplayer host menu set citem to START GAME by default + 20100831 -------- include/u_mem.h, main/menu.c, main/newmenu.c, main/newmenu.h: Added feature to let select_file_reursive() change drive on _WIN32 via CTRL-D; Removed second definition of MEM_K accidentially happened due to bad communication diff --git a/main/net_ipx.c b/main/net_ipx.c index 614daddee..55655efac 100644 --- a/main/net_ipx.c +++ b/main/net_ipx.c @@ -2564,7 +2564,7 @@ int net_ipx_setup_game() Assert(optnum <= 20); - i = newmenu_do1( NULL, TXT_NETGAME_SETUP, optnum, m, (int (*)( newmenu *, d_event *, void * ))net_ipx_game_param_handler, &opt, 1 ); + i = newmenu_do1( NULL, TXT_NETGAME_SETUP, optnum, m, (int (*)( newmenu *, d_event *, void * ))net_ipx_game_param_handler, &opt, opt.start_game ); if (i < 0) ipxdrv_close(); diff --git a/main/net_udp.c b/main/net_udp.c index 19d3a86f9..a3cf6e381 100644 --- a/main/net_udp.c +++ b/main/net_udp.c @@ -3028,7 +3028,7 @@ int net_udp_setup_game() Assert(optnum <= 20); - i = newmenu_do1( NULL, TXT_NETGAME_SETUP, optnum, m, (int (*)( newmenu *, d_event *, void * ))net_udp_game_param_handler, &opt, 1 ); + i = newmenu_do1( NULL, TXT_NETGAME_SETUP, optnum, m, (int (*)( newmenu *, d_event *, void * ))net_udp_game_param_handler, &opt, opt.start_game ); if (i < 0) net_udp_close(); @@ -4197,7 +4197,7 @@ void net_udp_send_pdata() for (i = 0; i < MAX_PLAYERS; i++) if (Players[i].connected == CONNECT_PLAYING) - create_shortpos(&pos[i], Objects+Players[i].objnum, 1); + create_shortpos(&pos[i], Objects+Players[i].objnum, 0); for (i = 1; i < MAX_PLAYERS; i++) { @@ -4245,7 +4245,7 @@ void net_udp_send_pdata() buf[len] = Players[Player_num].connected; len++; buf[len] = Objects[Players[j].objnum].render_type; len++; memset(&pos, 0, sizeof(shortpos)); - create_shortpos(&pos, Objects+Players[Player_num].objnum, 1); + create_shortpos(&pos, Objects+Players[Player_num].objnum, 0); memcpy(buf + len, &pos.bytemat, 9); len += 9; PUT_INTEL_SHORT(&buf[len], pos.xo); len += 2; PUT_INTEL_SHORT(&buf[len], pos.yo); len += 2;