Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
interkosmos committed Aug 23, 2023
1 parent 0926ce3 commit 33a8230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/bunny.f90
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ program main
y = bunnies(i)%position%y + texture%height / 2

if (x > SCREEN_WIDTH .or. x < 0) bunnies(i)%speed%x = -1 * bunnies(i)%speed%x
if (y > SCREEN_HEIGHT .or. y - 40 < 0) bunnies(i)%speed%y = -1 * bunnies(i)%speed%x
if (y > SCREEN_HEIGHT .or. y - 40 < 0) bunnies(i)%speed%y = -1 * bunnies(i)%speed%y
end do

call begin_drawing()
Expand Down

0 comments on commit 33a8230

Please sign in to comment.