summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorAdam Bird <Archez@users.noreply.github.com>2023-05-03 21:26:03 -0400
committerGitHub <noreply@github.com>2023-05-03 21:26:03 -0400
commitf9a696e9bdbfb94e9afd2ae8989da1fd9e01caaa (patch)
treebb8118dc938b271b5f697e07cb82332ea0659d27 /soh/src/code
parentc3c97f207f32ff9cb89f3b09b84dab946f9a0ed8 (diff)
add back missing early break/return for bottle filling (#2817)
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_parameter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/soh/src/code/z_parameter.c b/soh/src/code/z_parameter.c
index 8f3683d41..954ce1190 100644
--- a/soh/src/code/z_parameter.c
+++ b/soh/src/code/z_parameter.c
@@ -2271,6 +2271,7 @@ u8 Item_Give(PlayState* play, u8 item) {
}
gSaveContext.inventory.items[temp + i] = item;
+ break;
}
}
} else {