OSDN Git Service

[Refactor] #38862 Moved angband.h, h-*.h and system-variables.c/h
[hengband/hengband.git] / src / market / store-util.c
index 3436731..e93912f 100644 (file)
@@ -1,7 +1,7 @@
-#include "angband.h"
+#include "system/angband.h"
 #include "market/store-util.h"
-#include "object-hook.h"
-#include "objectkind.h"
+#include "object/object-hook.h"
+#include "object/object-kind.h"
 
 int cur_store_num = 0;
 store_type *st_ptr = NULL;
@@ -427,11 +427,13 @@ bool store_will_buy(object_type *o_ptr)
                                if (my_strchr("?!", r_ptr->d_char)) break;
                        }
                }
+                       /* Fall through */
                case TV_POLEARM:
                case TV_SWORD:
                {
                        if (is_blessed_item(o_ptr)) break;
                }
+                       /* Fall through */
                default:
                        return FALSE;
                }