From 2b02639bd2aa360cdcf8feb87cb022c3c2ccdce3 Mon Sep 17 00:00:00 2001 From: zicodxx Date: Sun, 28 Nov 2010 01:02:04 +0100 Subject: [PATCH] In multi_new_game when initializing Players structures, also correctly init connected variable which is highly important for spreading pdata to clients and should be set correctly anyways (Thanks to Gold Leader and Flip for help with debugging/testing recent Multiplayer bugs) --- CHANGELOG.txt | 4 ++++ main/multi.c | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 1e3b97f50..a9916d9a0 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,9 @@ D1X-Rebirth Changelog +20101128 +-------- +main/multi.c: In multi_new_game when initializing Players structures, also correctly init connected variable which is highly important for spreading pdata to clients and should be set correctly anyways (Thanks to Gold Leader and Flip for help with debugging/testing recent Multiplayer bugs) + 20101126 -------- include/physfsx.h, main/inferno.c, misc/physfsx.c: Implemented PHYSFSX_checkSupportedArchiveTypes to check if essential archive types are supported. Print warnings if not and stop program if necessary. Also added PHYSFSX_listSearchPAthContent to print out search path contents (figures) each time the function is called. Doing this before main HOG inits as well after sucessfully adding archives. Made PHYSFSX_addArchiveContent a bit more verbose as well. diff --git a/main/multi.c b/main/multi.c index f139dd6d8..953cdb8be 100644 --- a/main/multi.c +++ b/main/multi.c @@ -430,6 +430,7 @@ multi_new_game(void) for (i = 0; i < MAX_NUM_NET_PLAYERS; i++) { sorted_kills[i] = i; + Players[i].connected = CONNECT_DISCONNECTED; Players[i].net_killed_total = 0; Players[i].net_kills_total = 0; Players[i].flags = 0;