fixies main
authortomás zerolo <tomas@tuxteam.de>
Sun, 29 Jun 2025 14:19:08 +0000 (16:19 +0200)
committertomás zerolo <tomas@tuxteam.de>
Sun, 29 Jun 2025 14:19:08 +0000 (16:19 +0200)
hello.c

diff --git a/hello.c b/hello.c
index ed1edf1fe5b80db1d6b5c4058726a7c5ca5015f9..cce3a97931844ced014350e1affb63393091a769 100644 (file)
--- a/hello.c
+++ b/hello.c
@@ -8,7 +8,6 @@
 
 char* Tasche[Taschenplatz];
 struct Lebewesen Kaempfer;
-Kaempfer.Lebenspunkte = 100;
 
 void addFundsache(char** Tasche, char* Ding)
 {
@@ -121,7 +120,10 @@ int main(int argc, char *argv[])
 {
   char title[] = "Mein kleiner Dungon\n";
   char Richtung;
-  printf("%d", Kaempfer.Lebenspunkte)  
+
+  Kaempfer.Lebenspunkte = 100;
+
+  printf("%d", Kaempfer.Lebenspunkte);
   printf("%s", title);
 
   char** Tasche = Fundsachen();