From 08dd11137feb0c07352ba95ddbf6086e134cf363 Mon Sep 17 00:00:00 2001 From: Deskull Date: Thu, 7 Sep 2017 23:05:14 +0900 Subject: [PATCH] =?utf8?q?#37449=20(2.2.0.82)=20msg=5Fprint()=E3=81=AE?= =?utf8?q?=E3=82=A8=E3=83=B3=E3=83=90=E3=82=B0=E3=82=92=E8=B5=B7=E3=81=93?= =?utf8?q?=E3=81=99=E3=81=8A=E3=81=9D=E3=82=8C=E3=81=AE=E3=81=82=E3=82=8B?= =?utf8?q?=E4=BF=AE=E6=AD=A3=E3=82=92=E5=B7=AE=E3=81=97=E6=88=BB=E3=81=97?= =?utf8?q?=E3=80=82=20/=20Revert=20a=20fix=20of=20msg=5Fprint()=20against?= =?utf8?q?=20en-bug.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/defines.h | 2 +- src/util.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/defines.h b/src/defines.h index ea5349e56..03d73d160 100644 --- a/src/defines.h +++ b/src/defines.h @@ -53,7 +53,7 @@ #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */ #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */ #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */ -#define FAKE_VER_EXTRA 81 /*!< ゲームのバージョン番号定義(エクストラ番号) */ +#define FAKE_VER_EXTRA 82 /*!< ゲームのバージョン番号定義(エクストラ番号) */ /*! diff --git a/src/util.c b/src/util.c index 9cd138de0..7e377a63d 100644 --- a/src/util.c +++ b/src/util.c @@ -2833,9 +2833,6 @@ void msg_print(cptr msg) if (world_monster) return; - /* No message */ - if (!msg) return; - /* Copy it */ if(!cheat_turn) { @@ -2872,6 +2869,9 @@ void msg_print(cptr msg) p = 0; } + /* No message */ + if (!msg) return; + /* Memorize the message */ if (character_generated) message_add(buf); -- 2.11.0