fix undead minicore rotation

This commit is contained in:
dawnDus 2022-05-14 13:48:58 -04:00
parent dc2476c9dd
commit 3f8c66db0f
No known key found for this signature in database
GPG Key ID: 972AABDE81848F21
1 changed files with 2 additions and 2 deletions

View File

@ -1047,8 +1047,8 @@ impl BossNPC {
let angle = (angle / 2) as f64 * CDEG_RAD;
part.x = base.x + 0x30 * (angle.cos() * -512.0) as i32 - 0x1000;
part.y = base.y + 0x50 * (angle.sin() * -512.0) as i32;
part.x = base.x + 0x30 * (angle.cos() * 512.0) as i32 - 0x1000;
part.y = base.y + 0x50 * (angle.sin() * 512.0) as i32;
}
part.anim_rect = state.constants.npc.b07_undead_core[part.anim_num as usize + 12];