summaryrefslogtreecommitdiff
path: root/src/dungeon.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2010-01-11 23:59:10 +0100
committerBardur Arantsson <bardur@scientician.net>2010-01-11 23:59:10 +0100
commitfc2e719c1efc058ed900f363838a4def87e68cbc (patch)
tree08f74c340c49aa74a64823a4e1088cf2abbeefc3 /src/dungeon.c
parentd829c88460b4d60ecc3a9f339dd57113c764cf80 (diff)
Remove Borg cruft.
Diffstat (limited to 'src/dungeon.c')
-rw-r--r--src/dungeon.c60
1 files changed, 2 insertions, 58 deletions
diff --git a/src/dungeon.c b/src/dungeon.c
index 6025ee45..fd5afeb9 100644
--- a/src/dungeon.c
+++ b/src/dungeon.c
@@ -3528,45 +3528,6 @@ extern void do_cmd_debug(void);
#endif /* ALLOW_WIZARD */
-#ifdef ALLOW_BORG
-
-/*
- * Verify use of "borg" commands
- */
-static bool enter_borg_mode(void)
-{
- /* Ask first time */
- if (!(noscore & 0x0010))
- {
- /* Mention effects */
- msg_print("The borg commands are for debugging and experimenting.");
- msg_print("The game will not be scored if you use borg commands.");
- msg_print(NULL);
-
- /* Verify request */
- if (!get_check("Are you sure you want to use borg commands? "))
- {
- return (FALSE);
- }
-
- /* Mark savefile */
- noscore |= 0x0010;
- }
-
- /* Success */
- return (TRUE);
-}
-
-
-/*
- * Hack -- Declare the Ben Borg
- */
-extern void do_cmd_borg(void);
-
-#endif /* ALLOW_BORG */
-
-
-
/*
* Parse and execute the current command
* Give "Warning" on illegal commands.
@@ -3654,25 +3615,8 @@ static void process_command(void)
#endif /* ALLOW_WIZARD */
-
-#ifdef ALLOW_BORG
-
- /* Special "borg" commands */
- case KTRL('Z'):
- {
- /* Enter borg mode */
- if (enter_borg_mode())
- {
- if (!p_ptr->wild_mode) do_cmd_borg();
- }
-
- break;
- }
-
-#endif /* ALLOW_BORG */
-
-
- /*** Inventory Commands ***/
+
+ /*** Inventory Commands ***/
/* Wear/wield equipment */
case 'w':