OSDN Git Service

[Refactor] #37353 「死を欺く処理」を dungeon.c から cheat_death() に分離。 / Separate cheat_death...
[hengband/hengband.git] / src / chuukei.c
index 8fd22f7..445268f 100644 (file)
@@ -52,7 +52,7 @@ static int browse_delay; /* 表示するまでの時間(100ms単位)(この間
 static int sd; /* ソケットのファイルディスクリプタ */
 static long time_diff;   /* プレイ側との時間のずれ(これを見ながらディレイを調整していく) */
 static int server_port;
-static char server_name[MAX_HOSTNAME];
+static GAME_TEXT server_name[MAX_HOSTNAME];
 #endif
 
 static int movie_fd;
@@ -522,7 +522,7 @@ static bool string_is_repeat(char *str, int len)
        return (TRUE);
 }
 
-static errr send_text_to_chuukei_server(int x, int y, int len, byte col, cptr str)
+static errr send_text_to_chuukei_server(TERM_LEN x, TERM_LEN y, int len, TERM_COLOR col, cptr str)
 {
        char buf[1024];
        char buf2[1024];
@@ -669,8 +669,6 @@ void prepare_movie_hooks(void)
                        if (fd >= 0)
                        {
                                char out_val[160];
-
-                               /* Close the file */
                                (void)fd_close(fd);
 
                                /* Build query */