James Heavey / Mbed 2 deprecated EL17JH

Dependencies:   mbed

Revision:
63:2de6fb2de428
Parent:
62:64559062e0ec
Child:
64:c3426b417ad9
--- a/BreakoutEngine/BreakoutEngine.cpp	Sat May 04 20:17:05 2019 +0000
+++ b/BreakoutEngine/BreakoutEngine.cpp	Sat May 04 20:40:32 2019 +0000
@@ -433,7 +433,7 @@
 void BreakoutEngine::print_scores(N5110 &lcd) //maybe add to oneless
 {
     // get scores from paddles
-    int p1_score = get_prev_score() + (18 - get_num_left())*100 * _multiplier;     //maybe add a previous score so the score carries over through victory screens. add hi score fix so restart restarts from 321
+    int p1_score = 1800*(_multiplier-1) + (18 - get_num_left())*100 * _multiplier;     //maybe add a previous score so the score carries over through victory screens. add hi score fix so restart restarts from 321
                                 // also, add a multiplier of 2 for every contiue on victory
     // print to LCD i
     char buffer1[14];