]> git.pond.sub.org Git - empserver/blobdiff - src/lib/player/empdis.c
Support UTF-8 encoded Unicode for user communications.
[empserver] / src / lib / player / empdis.c
index 972f58417d216fadba47b320987e1a1ba54f67cb..831710a93d30ac2502a3b21fa603a5c024a07d02 100644 (file)
@@ -154,7 +154,7 @@ gamedown(void)
 {
     FILE *down_fp;
     struct telstr tgm;
-    s_char buf[MAXTELSIZE];
+    s_char buf[MAXTELSIZE]; /* buf is message text */
 
     if (player->god)
        return 0;
@@ -176,7 +176,7 @@ gamedown(void)
        return 1;
     }
     buf[tgm.tel_length] = 0;
-    prnf(buf);
+    uprnf(buf);
     pr("\nThe game is down\n");
     fclose(down_fp);
     return 1;