From 7d3f787258b80e4ae0bb4542fd8663ae7fc02853 Mon Sep 17 00:00:00 2001 From: Elena of Valhalla'' Grandi Date: Thu, 27 Mar 2014 22:12:10 +0100 Subject: arduino sketch: fixed arrow decrementing --- arduino_sketch/arcerino/arcerino.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arduino_sketch/arcerino/arcerino.ino b/arduino_sketch/arcerino/arcerino.ino index e19b00a..c144e97 100644 --- a/arduino_sketch/arcerino/arcerino.ino +++ b/arduino_sketch/arcerino/arcerino.ino @@ -251,7 +251,7 @@ char get_score() { } void new_arrow() { - arrows = arrows--; + arrows--; drift_x = random(-LCD_MAX/2,LCD_MAX/2) + random(-LCD_MAX/2,LCD_MAX/2); drift_y = random(-LCD_MAX/2,LCD_MAX/2) + random(-LCD_MAX/2,LCD_MAX/2); } -- cgit v1.2.3