summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dungeon.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/dungeon.c b/src/dungeon.c
index bcda2da1..fca12173 100644
--- a/src/dungeon.c
+++ b/src/dungeon.c
@@ -2885,11 +2885,10 @@ static void process_world(void)
}
/* The light is getting dim */
- else if (o_ptr->timeout < 100)
+ else if ((o_ptr->timeout < 100) && (o_ptr->timeout % 10 == 0))
{
if (disturb_minor) disturb(0, 0);
cmsg_print(TERM_YELLOW, "Your light is growing faint.");
- drop_from_wild();
}
}
}
@@ -3836,10 +3835,6 @@ static void process_command(void)
{
msg_print("To flee the ambush you have to reach the edge of the map.");
}
- else if (o_ptr->tval && (f4 & TR4_FUEL_LITE) && (o_ptr->timeout < 100))
- {
- msg_print("Your light is too low on fuel for you to travel with it.");
- }
/* TODO: make the above stuff use this hook */
else if (!process_hooks(HOOK_FORBID_TRAVEL, "()"))
{