OSDN Git Service

[Refactor] #37353 world_type を world.c/h へ移動。
[hengband/hengband.git] / src / util.c
index ae1cd5b..5913bf0 100644 (file)
 /* Purpose: Angband utilities -BEN- */
 
 #include "angband.h"
+#include "util.h"
 #include "monsterrace-hook.h"
+#include "view-mainwindow.h"
 #include "quest.h"
+#include "floor.h"
+#include "world.h"
 
 
 static int num_more = 0;
@@ -4590,8 +4594,6 @@ void request_command(int shopping)
                concptr s;
 
                object_type *o_ptr = &inventory[i];
-
-               /* Skip non-objects */
                if (!o_ptr->k_idx) continue;
 
                /* No inscription */
@@ -5547,3 +5549,4 @@ int inkey_special(bool numpad_cursor)
        /* Return normal keycode */
        return (int)((unsigned char)key);
 }
+