mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-09-28 21:19:24 +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.animate(4, 1, 4);
|
||||||
self.x += self.direction.vector_x() * 0x200;
|
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;
|
self.action_num = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue