#define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */
#define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */
#define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */
-#define FAKE_VER_EXTRA 82 /*!< ゲームのバージョン番号定義(エクストラ番号) */
+#define FAKE_VER_EXTRA 83 /*!< ゲームのバージョン番号定義(エクストラ番号) */
/*!
if (world_monster) return;
- /* Copy it */
- if(!cheat_turn)
- {
- strcpy(buf, msg);
- }
- else
- {
- sprintf(buf,("T:%d - %s"), turn, msg);
- }
-
/* Hack -- Reset */
if (!msg_flag) {
/* Clear the line */
p = 0;
}
- /* Message Length */
- n = (buf ? strlen(buf) : 0);
-
- /* Paranoia */
- if (n > 1000) return;
+ /* Original Message Length */
+ n = (msg ? strlen(msg) : 0);
/* Hack -- flush when requested or needed */
- if (p && (!buf || ((p + n) > 72)))
+ if (p && (!msg || ((p + n) > 72)))
{
/* Flush */
msg_flush(p);
/* No message */
if (!msg) return;
+ /* Paranoia */
+ if (n > 1000) return;
+
+ /* Copy it */
+ if (!cheat_turn)
+ {
+ strcpy(buf, msg);
+ }
+ else
+ {
+ sprintf(buf, ("T:%d - %s"), turn, msg);
+ }
+
+ /* New Message Length */
+ n = (buf ? strlen(buf) : 0);
+
/* Memorize the message */
if (character_generated) message_add(buf);