1
0
Fork 0
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:
dawnDus 2022-10-21 12:07:43 -04:00
parent 57b2be5211
commit d42632f973
No known key found for this signature in database
GPG key ID: 972AABDE81848F21

View file

@ -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;
} }
} }