- pacmangamestruct *pp = &pacmangames[MI_SCREEN (mi)];
- if (is_bonus_dot (pp, pp->pacman.col, pp->pacman.row, &idx)) {
- ret = !bonus_dot_eaten (pp, idx);
- eat_bonus_dot (pp, idx);
+ pacmangamestruct *pp = &pacman_games[MI_SCREEN (mi)];
+ if (pacman_is_bonus_dot (pp, pp->pacman.col, pp->pacman.row, &idx)) {
+ ret = !pacman_bonus_dot_eaten (pp, idx);
+ pacman_eat_bonus_dot (pp, idx);