Fixed indentation

This commit is contained in:
twojstaryzdomu 2022-03-04 22:49:00 +01:00 committed by Gregory Montoir
parent 31fa5c2d3f
commit f0f4b567b0
1 changed files with 4 additions and 4 deletions

View File

@ -1142,10 +1142,10 @@ bool level_objects_collide(const struct object_t *si, const struct object_t *di)
d = si->x_pos - spr_offs_tbl[(si->spr_num & 0x1FFF) * 2];
a = di->x_pos - spr_offs_tbl[(di->spr_num & 0x1FFF) * 2];
b = spr_size_tbl[(di->spr_num & 0x1FFF) * 2];
if (a >= d) {
SWAP(a, d);
b = spr_size_tbl[(si->spr_num & 0x1FFF) * 2];
}
if (a >= d) {
SWAP(a, d);
b = spr_size_tbl[(si->spr_num & 0x1FFF) * 2];
}
if (g_vars.player_using_club_flag == 0) {
b >>= 1;
}