1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix examples

This commit is contained in:
Alexander Medvednikov
2019-08-07 14:16:10 +02:00
parent b5d67f226f
commit 4b69d43f9f
5 changed files with 9 additions and 5 deletions

View File

@ -287,7 +287,8 @@ fn (g &Game) draw_scene() {
g.draw_field()
}
fn parse_binary_tetro(t int) []Block {
fn parse_binary_tetro(t_ int) []Block {
mut t := t_
res := [Block{} ; 4]
mut cnt := 0
horizontal := t == 9// special case for the horizontal line