Oops, all changes!

This commit is contained in:
MarcEricMartel
2023-12-16 15:27:20 -05:00
parent 2eacc0477b
commit 7f9462881c
3 changed files with 4 additions and 3 deletions

View File

@@ -213,7 +213,7 @@ Timestamp Connection::Run(World* world) {
else out.states.jumpshot = false;
if (in.keys.shoot && m_shoot_acc <= 0.) {
Bullets.push_back(std::move(new Bullet(player->GetPOV() + player->GetDirection(), player->GetDirection(), GetHash(true))));
Bullets.emplace_back(new Bullet(player->GetPOV() + player->GetDirection(), player->GetDirection(), GetHash(true)));
m_shoot_acc = BULLET_TIME;
}