summaryrefslogtreecommitdiff
path: root/npc/functions/fishing.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/fishing.txt')
-rw-r--r--npc/functions/fishing.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt
index c87935fff..33f746c9d 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -246,21 +246,18 @@ function script fishing {
.@bait = requestitem();
.@bait_c = false;
- if (.@bait < 1)
- {
+ if (.@bait < 1) {
narrator S_FIRST_BLANK_LINE,
l("You take your fishing rod and leave.");
return -6;
}
- if (countitem(.@bait) < 1)
- {
+ if (countitem(.@bait) < 1) {
return -6;
}
- for (.@i = 0; .@i < .@baits; .@i += 2)
- {
+ for (.@i = 0; .@i < .@baits; .@i += 2) {
if (getvariableofnpc(.bait_ids[.@i], .@npc$) == .@bait)
{
.@bait_c = true;