OSDN Git Service

* #37454 (2.2.0.53) カジノのポーカーでまだ一部ストレート判定が怪しかったり余計だったものを修正。 / Fix a bug of straight...
authorDeskull <desull@users.sourceforge.jp>
Thu, 24 Aug 2017 14:01:06 +0000 (23:01 +0900)
committerDeskull <desull@users.sourceforge.jp>
Thu, 24 Aug 2017 14:01:06 +0000 (23:01 +0900)
src/bldg.c
src/defines.h

index 9b4ad3a..6068e03 100644 (file)
@@ -241,7 +241,7 @@ static void arena_comm(int cmd)
                                        msg_print(NULL);
                                        if (get_check(_("挑戦するかね?", "Do you fight? ")))
                                        {       
-                        msg_print(_("死ぬがよい。", "Die, maggots."));
+                                               msg_print(_("死ぬがよい。", "Die, maggots."));
                                                msg_print(NULL);
                                        
                                                p_ptr->exit_bldg = FALSE;
@@ -540,7 +540,6 @@ static int yaku_check_straight(void)
 
        joker_is_used = FALSE;
 
-
        /* Straight Only Check */
 
        if (lowest == 0) { /* (10 - J - Q - K)[JOKER] - A */
@@ -555,14 +554,9 @@ static int yaku_check_straight(void)
                }
                if(i == 4) straight = TRUE;
        }
-       if (lowest == 9) { /* 10 - J - Q - K - [JOKER] */
-               for (i = 0; i < 3; i++)
-               {
-                       if (!find_card_num(10 + i))
-                               break;
-               }
-               if (i == 3 && have_joker()) straight = TRUE;
-       }
+
+       joker_is_used = FALSE;
+
        for (i = 0; i < 5; i++)
        {
                if(!find_card_num(lowest + i)){
index 2a9788f..2ad7911 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 52 /*!< ゲームのバージョン番号定義(エクストラ番号) */
+#define FAKE_VER_EXTRA 53 /*!< ゲームのバージョン番号定義(エクストラ番号) */
 
 
  /*!