fixed network games, part 1: separate locally and network connected players
authorHolger Schemel <info@artsoft.org>
Fri, 18 May 2018 06:55:32 +0000 (08:55 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 18 May 2018 06:55:32 +0000 (08:55 +0200)
commitb8803f08af3cf07efed781124417be11c1a306ee
treee2692b4732e3f24504fcebc16afe31ba8d72cef1
parent0bd8e1ee6077beacfa455dbe1e93aa9de726a797
fixed network games, part 1: separate locally and network connected players

Network games were largely broken since (at least) version 3.2.4
(although they still worked for the most common cases, but only for the
first game after starting the program). They will be fixed in several
separate steps.

This first part separates storing if a team-mode player was connected
locally or over the network (and then sets the previously used general
flag if a certain player is "connected" or not, regardless of being
connected locally or remotely).
src/game.c
src/game.h
src/init.c
src/network.c