OSDN Git Service

(2.2.0.80) hradishさんの報告より、wild_magic()中switch文のbreak漏れを修正。 / Fix break-less switch...
authorDeskull <desull@users.sourceforge.jp>
Tue, 5 Sep 2017 11:53:32 +0000 (20:53 +0900)
committerDeskull <desull@users.sourceforge.jp>
Tue, 5 Sep 2017 11:53:32 +0000 (20:53 +0900)
src/defines.h
src/do-spell.c

index 4a1a66c..19d1eb1 100644 (file)
@@ -53,7 +53,7 @@
 #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */
 #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */
 #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */
-#define FAKE_VER_EXTRA 79 /*!< ゲームのバージョン番号定義(エクストラ番号) */
+#define FAKE_VER_EXTRA 80 /*!< ゲームのバージョン番号定義(エクストラ番号) */
 
 
  /*!
index 2559b5a..d8ff2c1 100644 (file)
@@ -526,6 +526,7 @@ static void wild_magic(int spell)
                break;
        case 16: case 17:
                wall_breaker();
+               break;
        case 18:
                sleep_monsters_touch();
                break;