From: Holger Schemel Date: Mon, 20 Nov 2006 23:13:51 +0000 (+0100) Subject: rnd-20061121-1-src X-Git-Tag: 3.2.3^2~10 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=c51ca10e43ca29a3c10890a81e4b0fa736554600;p=rocksndiamonds.git rnd-20061121-1-src * fixed nasty bug with initialization only done for the first player --- diff --git a/ChangeLog b/ChangeLog index 1990c249..dd4575c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2006-11-21 + * fixed nasty bug with initialization only done for the first player + 2006-11-19 * small change to handle loading empty element/content list micro chunks diff --git a/src/files.c b/src/files.c index 4dc5608a..55645441 100644 --- a/src/files.c +++ b/src/files.c @@ -2044,12 +2044,12 @@ static int LoadLevel_HEAD(FILE *file, int chunk_size, struct LevelInfo *level) STEPSIZE_NORMAL); for (i = 0; i < MAX_PLAYERS; i++) - level->initial_player_stepsize[0] = initial_player_stepsize; + level->initial_player_stepsize[i] = initial_player_stepsize; initial_player_gravity = (getFile8Bit(file) == 1 ? TRUE : FALSE); for (i = 0; i < MAX_PLAYERS; i++) - level->initial_player_gravity[0] = initial_player_gravity; + level->initial_player_gravity[i] = initial_player_gravity; level->encoding_16bit_field = (getFile8Bit(file) == 1 ? TRUE : FALSE); level->em_slippery_gems = (getFile8Bit(file) == 1 ? TRUE : FALSE);