Fixed ProjectileDissipation 1st frame missing
This commit is contained in:
parent
d49c261a17
commit
5ed2883954
|
@ -135,9 +135,8 @@ impl Caret {
|
||||||
self.cond.set_alive(false);
|
self.cond.set_alive(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
self.anim_rect = constants.caret.projectile_dissipation_left_rects[self.anim_num as usize];
|
|
||||||
}
|
}
|
||||||
|
self.anim_rect = constants.caret.projectile_dissipation_left_rects[self.anim_num as usize];
|
||||||
}
|
}
|
||||||
Direction::Up => {
|
Direction::Up => {
|
||||||
self.anim_counter += 1;
|
self.anim_counter += 1;
|
||||||
|
@ -160,9 +159,8 @@ impl Caret {
|
||||||
self.cond.set_alive(false);
|
self.cond.set_alive(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
self.anim_rect = constants.caret.projectile_dissipation_right_rects[self.anim_num as usize];
|
|
||||||
}
|
}
|
||||||
|
self.anim_rect = constants.caret.projectile_dissipation_right_rects[self.anim_num as usize];
|
||||||
}
|
}
|
||||||
Direction::Bottom => {
|
Direction::Bottom => {
|
||||||
self.cond.set_alive(false);
|
self.cond.set_alive(false);
|
||||||
|
|
Loading…
Reference in New Issue