From 8d458cb5cf7d543dd44068e4edf2a7f0fb1529b2 Mon Sep 17 00:00:00 2001 From: Siamak Date: Fri, 10 Feb 2023 12:54:08 +0100 Subject: [PATCH] Richting unten beenden --- src/Spiellogik.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Spiellogik.c b/src/Spiellogik.c index 569b853..541a408 100644 --- a/src/Spiellogik.c +++ b/src/Spiellogik.c @@ -94,6 +94,9 @@ if(richtung == 'u') { apple(realU); speed = speed + 20; } + else { + return 1; + } }