examples: fix a small tetris bug
parent
10b0432eca
commit
714d61aed7
|
@ -422,7 +422,7 @@ fn key_down(wnd voidptr, key, code, action, mods int) {
|
||||||
game.get_tetro()
|
game.get_tetro()
|
||||||
}
|
}
|
||||||
if game.pos_x < 0 {
|
if game.pos_x < 0 {
|
||||||
game.pos_x = 1
|
//game.pos_x = 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
glfw.KeyLeft {
|
glfw.KeyLeft {
|
||||||
|
|
Loading…
Reference in New Issue