Skip to content

Commit

Permalink
Merge pull request pr3y#152 from LamnDev/dev1
Browse files Browse the repository at this point in the history
Fix upwards movement in megalodon for sticks
  • Loading branch information
pr3y authored Aug 8, 2024
2 parents a640c04 + c6a6bbb commit 72474bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/others/tururururu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ void drawFish(Fish &f) {
// Função para mover o tubarão
void moveShark() {

#if defined(STICK_C_PLUS) || defined(STICK_C_PLUS2) // checkEscPress is the same of checkPrevPress in these devices
if (checkSelPress())
#else
if (checkPrevPress())
#endif
{
sharkY -= 2; // Move para cima
}
Expand Down

0 comments on commit 72474bf

Please sign in to comment.