From 4287136f21b04776ecdb14f82e1cfb029d0e9945 Mon Sep 17 00:00:00 2001 From: David PC Saiz <david.saiz@informatik.hs-fulda.de> Date: Wed, 8 Feb 2023 20:21:28 +0100 Subject: [PATCH] Erste Position vom Score wird ins Feld geschrieben. --- src/Paper-Bin.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index c17396e..836dedd 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -199,6 +199,8 @@ void Generatefield() { if (ScorePoints < 0) ScorePoints = 0; + int tmp = ScorePoints; + field[12][1] = '0' + tmp % 10; } void addScoreboard()