We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0926ce3 commit 33a8230Copy full SHA for 33a8230
examples/bunny.f90
@@ -61,7 +61,7 @@ program main
61
y = bunnies(i)%position%y + texture%height / 2
62
63
if (x > SCREEN_WIDTH .or. x < 0) bunnies(i)%speed%x = -1 * bunnies(i)%speed%x
64
- 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
65
end do
66
67
call begin_drawing()
0 commit comments