/in/game.cpp: In function 'bool AddGhost(Game*, int, int, Direction)':
/in/game.cpp:275:26: error: request for member 'gr' in 'ghost[game->game::g]', which is of pointer type 'Ghost* {aka ghost*}' (maybe you meant to use '->' ?)
ghost[game -> g].gr = r;
^~
/in/game.cpp:276:26: error: request for member 'gc' in 'ghost[game->game::g]', which is of pointer type 'Ghost* {aka ghost*}' (maybe you meant to use '->' ?)
ghost[game -> g].gc = c;
^~
/in/game.cpp:277:26: error: request for member 'direction' in 'ghost[game->game::g]', which is of pointer type 'Ghost* {aka ghost*}' (maybe you meant to use '->' ?)
ghost[game -> g].direction = direction;
^~~~~~~~~