summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes.txt3
-rw-r--r--src/dungeon.c7
2 files changed, 4 insertions, 6 deletions
diff --git a/changes.txt b/changes.txt
index 4aeef8a7..97a5b78f 100644
--- a/changes.txt
+++ b/changes.txt
@@ -2,6 +2,9 @@ T.o.M.E 2.3.8 (ah)
- Change "molten glass wall" to use a different internal code to
hopefully avoid clashes with modules such as Theme.
+- Removed the check on low fuel on your light source when traveling.
+ It doesn't make sense since you can already travel without any light
+ equipped.
T.o.M.E 2.3.7 (ah)
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, "()"))
{