From 27993e75eebfca8ac0fde24adcf5b451603a1507 Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Sat, 7 Feb 2009 12:39:21 +0100 Subject: [PATCH] Remove unneeded "ground" field in GameState This is not needed in current versions of Tennix. --- game.c | 1 - game.h | 1 - 2 files changed, 2 deletions(-) diff --git a/game.c b/game.c index 45f3b41..11411e2 100644 --- a/game.c +++ b/game.c @@ -37,7 +37,6 @@ GameState *gamestate_new() { GameState template = { { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, false, -1, false }, - { 0, 0, 0, 0, 0 }, { { GAME_X_MIN-RACKET_X_MID*2, GAME_Y_MID, 0, 0, DESIRE_NORMAL, PLAYER_TYPE_HUMAN, GAME_Y_MID, false, 0, {0}, 0, 0, PLAYER_ACCEL_DEFAULT, true }, { GAME_X_MAX+RACKET_X_MID*2, GAME_Y_MID, 0, 0, DESIRE_NORMAL, PLAYER_TYPE_AI, GAME_Y_MID, false, 0, {0}, 0, 0, PLAYER_ACCEL_DEFAULT, true }, diff --git a/game.h b/game.h index 3451105..e27347c 100644 --- a/game.h +++ b/game.h @@ -126,7 +126,6 @@ enum { typedef struct { Ball ball; - Ball ground; Player players[MAXPLAYERS]; unsigned int time; bool was_stopped; -- 2.11.4.GIT