aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-03-27 22:12:10 +0100
committerElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-03-27 22:12:10 +0100
commit7d3f787258b80e4ae0bb4542fd8663ae7fc02853 (patch)
tree7d893c34a423e30129ad40effdccfe490285c582
parent1dac210aff41233e1e80ea7795de8344a5cb445c (diff)
arduino sketch: fixed arrow decrementingHEADmaster
-rw-r--r--arduino_sketch/arcerino/arcerino.ino2
1 files changed, 1 insertions, 1 deletions
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);
}