Skip to content

Commit c701996

Browse files
committed
[Anniversary] [th03] Fireballs: Display explosions at the correct position
Part of P0335, funded by [Anonymous] and Ember2528.
1 parent a6af4c4 commit c701996

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

th03/main/enemy/fireball.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,10 @@ void near fireball_explosion_put(void)
278278
}
279279
sprite16_put_size.set(64, 64);
280280

281-
// ZUN bug: (16 / 2) pixels lower than where they should be, and where
282-
// collision detection constructs its hitbox.
283281
screen_x_t left;
284282
screen_y_t top;
285283
left = (playfield_fg_x_to_screen(p->center.x, p->pid) - (64 / 2));
286-
top = (playfield_fg_y_to_screen(p->center.y, p->pid) - (48 / 2));
284+
top = (playfield_fg_y_to_screen(p->center.y, p->pid) - (64 / 2));
287285

288286
sprite16_put(left, top, so);
289287
}

0 commit comments

Comments
 (0)