mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-11-30 08:08:18 +00:00
make bottom facing fan blow, not suck
This commit is contained in:
parent
584df5518b
commit
ba582882cc
|
|
@ -896,7 +896,7 @@ impl NPC {
|
||||||
|
|
||||||
for player in players.iter_mut() {
|
for player in players.iter_mut() {
|
||||||
if abs(player.x - self.x) < 0x1000 && player.y > self.y && player.y < self.y + 96 * 0x200 {
|
if abs(player.x - self.x) < 0x1000 && player.y > self.y && player.y < self.y + 96 * 0x200 {
|
||||||
player.vel_y -= 0x88;
|
player.vel_y += 0x88;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue