home · contact · privacy
Fix hardcoding of MAGIC MEAT thing name.
[plomrogue] / src / server / thing_actions.c
index 4889e5fea2cc5d221d53d006244dc2986d00a22d..dbf600c4666bdf76368287ea759a0d8245a816a8 100644 (file)
@@ -48,9 +48,9 @@ static void playerbonus_use(uint8_t no_thing, uint8_t wrong_thing);
 
 static void update_log(char * text)
 {
-    send_to_outfile("LOG ");
-    send_to_outfile(text);
-    send_to_outfile("\n");
+    send_to_outfile("LOG ", 0);
+    send_to_outfile(text, 0);
+    send_to_outfile("\n", 1);
 }
 
 
@@ -183,7 +183,7 @@ static void playerbonus_use(uint8_t no_thing, uint8_t wrong_thing)
         update_log("You try to use this object, but fail.");
         return;
     }
-    update_log("You consume MAGIC MEAT.");
+    update_log("You consume this object.");
 }