mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-05-21 22:31:23 +00:00
Properly fix balrog cutscene and undo NPC 0 change
This commit is contained in:
parent
d2a671e04c
commit
4b0b667ed5
|
@ -275,6 +275,7 @@ impl NPC {
|
|||
|
||||
if self.y < 0 {
|
||||
self.npc_type = 0;
|
||||
self.spritesheet_id = 20; // NpcSym
|
||||
state.sound_manager.play_sfx(26);
|
||||
state.quake_counter = 30;
|
||||
}
|
||||
|
|
|
@ -24,8 +24,8 @@ impl NPC {
|
|||
|
||||
self.anim_rect.left = 0;
|
||||
self.anim_rect.top = 0;
|
||||
self.anim_rect.right = 0;
|
||||
self.anim_rect.bottom = 0;
|
||||
self.anim_rect.right = 16;
|
||||
self.anim_rect.bottom = 16;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue