mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-03-22 18:09:32 +00:00
Fix Curly NPC
This commit is contained in:
parent
57b2be5211
commit
d42632f973
|
@ -67,7 +67,7 @@ impl NPC {
|
|||
self.animate(4, 1, 4);
|
||||
self.x += self.direction.vector_x() * 0x200;
|
||||
|
||||
if abs(self.x - player.x) > 0x2800 {
|
||||
if abs(self.x - player.x) <= 0x2800 {
|
||||
self.action_num = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue