Skip to content

Commit

Permalink
Fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kofybrek authored Aug 18, 2021
1 parent cccc0cd commit b49c8e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Ghost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ void Ghost::update(unsigned char i_level, std::array<std::array<Cell, MAP_HEIGHT

for (unsigned char a = 0; a < 4; a++)
{
//Ghosts can't turn back! (Unless they really have to)
//Gohsts can't turn back! (Unless they really have to)
if (a == (2 + direction) % 4)
{
continue;
Expand Down Expand Up @@ -528,4 +528,4 @@ void Ghost::update_target(unsigned char i_pacman_direction, const Position& i_gh
Position Ghost::get_position()
{
return position;
}
}

1 comment on commit b49c8e4

@leonklingele
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙃

Please sign in to comment.