OSDN Git Service

[Refactor] 使われていないプリプロFORCE_V_IDX を削除 / Removed unused preprocessor FORCE_V_IDX
authorHourier <hourier@users.sourceforge.jp>
Fri, 14 Feb 2020 15:28:21 +0000 (00:28 +0900)
committerHourier <hourier@users.sourceforge.jp>
Fri, 14 Feb 2020 15:28:21 +0000 (00:28 +0900)
src/rooms-vault.c

index d14a2db..6c9937a 100644 (file)
@@ -703,10 +703,6 @@ bool build_type7(player_type *player_ptr)
        /* Find and reserve some space in the dungeon.  Get center of room. */
        if (!find_space(player_ptr, &yval, &xval, abs(y), abs(x))) return FALSE;
 
-#ifdef FORCE_V_IDX
-       v_ptr = &v_info[2];
-#endif
-
        msg_format_wizard(CHEAT_DUNGEON, _("小型Vault(%s)を生成しました。", "Lesser vault (%s)."), v_name + v_ptr->name);
 
        /* Hack -- Build the vault */
@@ -791,10 +787,6 @@ bool build_type8(player_type *player_ptr)
        /* Find and reserve some space in the dungeon.  Get center of room. */
        if (!find_space(player_ptr, &yval, &xval, (POSITION)(abs(y) + 2), (POSITION)(abs(x) + 2))) return FALSE;
 
-#ifdef FORCE_V_IDX
-       v_ptr = &v_info[76 + randint1(3)];
-#endif
-
        msg_format_wizard(CHEAT_DUNGEON, _("大型固定Vault(%s)を生成しました。", "Greater vault (%s)."), v_name + v_ptr->name);
 
        /* Hack -- Build the vault */
@@ -1298,10 +1290,6 @@ bool build_type17(player_type *player_ptr)
        /* Find and reserve some space in the dungeon.  Get center of room. */
        if (!find_space(player_ptr, &yval, &xval, abs(y), abs(x))) return FALSE;
 
-#ifdef FORCE_V_IDX
-       v_ptr = &v_info[2];
-#endif
-
        msg_format_wizard(CHEAT_DUNGEON, _("特殊固定部屋(%s)を生成しました。", "Special Fix room (%s)."), v_name + v_ptr->name);
 
        /* Hack -- Build the vault */