fix overflow in smoke npc

This commit is contained in:
Alula 2021-03-12 17:53:22 +01:00
parent f87b791c87
commit 9d552eaa1a
No known key found for this signature in database
GPG Key ID: 3E00485503A1D8BA
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ impl NPC {
if self.anim_num > 7 {
self.cond.set_alive(false);
return Ok(());
}
}