/in/game.cpp: In function 'void MovePacman(Game*, Direction)':
/in/game.cpp:193:41: error: 'Ghost {aka struct ghost}' has no member named 'flag'
if (game->ghosts[i].flag == false) continue;
^~~~
/in/game.cpp:200:41: error: 'Ghost {aka struct ghost}' has no member named 'flag'
if (game->ghosts[i].flag == false) continue;
^~~~
/in/game.cpp:219:37: error: 'Ghost {aka struct ghost}' has no member named 'flag'
game->ghosts[m].flag = false;
^~~~
/in/game.cpp: In function 'bool AddGhost(Game*, int, int, Direction)':
/in/game.cpp:306:36: error: 'Ghost {aka struct ghost}' has no member named 'flag'
game->ghosts[game->ghostCount].flag = true;
^~~~
/in/game.cpp: In function 'void MoveGhosts(Game*)':
/in/game.cpp:334:33: error: 'Ghost {aka struct ghost}' has no member named 'flag'
if (game->ghosts[i].flag == false) continue;
^~~~
/in/game.cpp:435:37: error: 'Ghost {aka struct ghost}' has no member named 'flag'
if (game->ghosts[i].flag == false) continue;
^~~~
/in/game.cpp:464:41: error: 'Ghost {aka struct ghost}' has no member named 'flag'
game->ghosts[i].flag = false; // 1 change
^~~~
/in/game.cpp:513:41: error: 'Ghost {aka struct ghost}' has no member named 'flag'
game->ghosts[i].flag = false;
^~~~