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
1 changed files with 1 additions and 1 deletions

View File

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