Skip to content

Commit d24ea63

Browse files
rrealmutofenhl
andauthored
Update ASM/c/item_effects.c
Co-authored-by: Fenhl <fenhl@fenhl.net>
1 parent 1476ee0 commit d24ea63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ASM/c/item_effects.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ void open_gate_and_mask_shop(z64_file_t* save, int16_t arg1, int16_t arg2) {
235235
if (z64_game.scene_index == 82) {
236236
// Loop through the actors looking for the gate
237237
z64_actor_t* curr = z64_game.actor_list[7].first;
238-
while(curr != NULL) {
239-
if(curr->actor_id == 0x100) { // Check for BG_GATE_SHUTTER
238+
while (curr != NULL) {
239+
if (curr->actor_id == 0x100) { // Check for BG_GATE_SHUTTER
240240
// Set the openingState so it starts to open
241241
BgGateShutter* gate = (BgGateShutter*)curr;
242242
gate->openingState = 2;

0 commit comments

Comments
 (0)