Remove printMap() function
This commit is contained in:
parent
49c0d80832
commit
03cd525d7e
10
server.c
10
server.c
@ -243,16 +243,6 @@ static int checkCoords(uint16_t msg)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void printMap(void)
|
||||
{
|
||||
for (int y = 0; y < MAP_SIZE; y++) {
|
||||
for (int x = 0; x < MAP_SIZE; x++) {
|
||||
fprintf(stdout, "%d\t", field[x][y].isHit);
|
||||
}
|
||||
fprintf(stdout, "\n");
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
struct sigaction sa;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user