mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-12-04 10:52:48 +00:00
Compare commits
2 commits
f6a1b6b6a4
...
084b1f09e2
Author | SHA1 | Date | |
---|---|---|---|
084b1f09e2 | |||
71b1b79ea4 |
Binary file not shown.
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
|
@ -266,7 +266,7 @@ impl NPC {
|
|||
self.vel_x = 0;
|
||||
}
|
||||
|
||||
if self.vel_y < 0 {
|
||||
if self.y < 0 {
|
||||
self.npc_type = 0;
|
||||
state.sound_manager.play_sfx(26);
|
||||
state.quake_counter = 30;
|
||||
|
@ -508,6 +508,7 @@ impl NPC {
|
|||
}
|
||||
}
|
||||
|
||||
println!("y: {}", self.y as f64 / 512.0);
|
||||
if self.y < -32 * 0x200 {
|
||||
self.npc_type = 0;
|
||||
state.quake_counter = 30;
|
||||
|
|
Loading…
Reference in a new issue