mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-01-15 23:36:41 +00:00
fix undead minicore rotation
This commit is contained in:
parent
dc2476c9dd
commit
3f8c66db0f
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue