Skip to content

Commit 33a8230

Browse files
committed
Minor fix.
1 parent 0926ce3 commit 33a8230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/bunny.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ program main
6161
y = bunnies(i)%position%y + texture%height / 2
6262

6363
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
64+
if (y > SCREEN_HEIGHT .or. y - 40 < 0) bunnies(i)%speed%y = -1 * bunnies(i)%speed%y
6565
end do
6666

6767
call begin_drawing()

0 commit comments

Comments
 (0)