* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * $Id: inet.c,v 1.18 1996/02/09 08:22:13 mhw Exp $
*/
#include "netris.h"
{
static struct {
int playerflags;
- int maxplayers; //1
+ int gravity; //1
int started; //2
int continuous; //3
long seed; //4
memcpy(&data, event.u.net.data, event.u.net.size);
memcpy(&Players[me].flags, &data, sizeof(data.playerflags));
memcpy(&Players[me].flags, &data, sizeof(data.playerflags));
- memcpy(&Game, &data.maxplayers,
+ memcpy(&Game.gravity, &data.gravity,
sizeof(data) - sizeof(data.playerflags));
break;
} //NP_gamedata
}
else
fatal("Hm, the party apparantly ended prematurely.");
- }
- while (event.u.net.type != NP_gamedata);
+ } while (event.u.net.type != NP_gamedata);
}