From f53563564928d1a7e7c5b54318bade9c605224e7 Mon Sep 17 00:00:00 2001 From: Siamak Date: Fri, 10 Feb 2023 16:51:01 +0100 Subject: [PATCH] Links weiter --- src/Spiellogik.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Spiellogik.c b/src/Spiellogik.c index 1325f88..7ebea49 100644 --- a/src/Spiellogik.c +++ b/src/Spiellogik.c @@ -136,7 +136,9 @@ int update(int realU[N][N],char richtung) { } } else if (richtung == 'l') { - + if (jj == 0) { + return 1; + } } int probe(int input){