Oops, all changes!
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user