Fix Warning
This commit is contained in:
@@ -51,7 +51,6 @@ void UpdateBall(Ball* ball, Paddle* p)
|
||||
|
||||
int CheckBallLose(GameData* gd, Ball* ball)
|
||||
{
|
||||
int loseCol = 0;
|
||||
if (gd->host) {
|
||||
if (ball->x <= LEFT_COL) {
|
||||
return true;
|
||||
|
||||
@@ -35,8 +35,6 @@ void CreateGameServer(Server* serv, GameData* gd)
|
||||
FD_ZERO(&fds);
|
||||
FD_SET(s.server_fd, &fds);
|
||||
|
||||
struct timeval tv = { 0, 0 }; // non-blocking check
|
||||
|
||||
SetupTermWin();
|
||||
|
||||
DrawWalls(*gd);
|
||||
|
||||
Reference in New Issue
Block a user