mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-03-23 18:39:20 +00:00
fix overflow in smoke npc
This commit is contained in:
parent
f87b791c87
commit
9d552eaa1a
|
@ -72,6 +72,7 @@ impl NPC {
|
|||
|
||||
if self.anim_num > 7 {
|
||||
self.cond.set_alive(false);
|
||||
return Ok(());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue