|
|
@@ -89,7 +89,7 @@ void burstshot::update(float delta) {
|
|
|
new_bullet.set_velocity(shots[idx].first);
|
|
|
new_bullet.set_position(actor->render_info().location.origin,
|
|
|
math::degree(shots[idx].second));
|
|
|
- actor->level()->add_bullet(std::move(bullet_proto));
|
|
|
+ actor->level()->add_bullet(std::move(new_bullet));
|
|
|
if (++idx == shots.size()) { idx = 0; }
|
|
|
}
|
|
|
}
|