mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
Revert "fix: optimization: Various PVS-Studio warnings"
This commit is contained in:
parent
a7ef7bb365
commit
ba046a52c0
90 changed files with 259 additions and 274 deletions
|
|
@ -64,7 +64,7 @@ public:
|
|||
std::shared_ptr<Inventory> inv, entityid_t eid);
|
||||
~Player();
|
||||
|
||||
void teleport(const glm::vec3 &position);
|
||||
void teleport(glm::vec3 position);
|
||||
void updateEntity();
|
||||
void updateInput(PlayerInput& input, float delta);
|
||||
void updateSelectedEntity();
|
||||
|
|
@ -96,7 +96,7 @@ public:
|
|||
|
||||
Hitbox* getHitbox();
|
||||
|
||||
void setSpawnPoint(const glm::vec3 &spawnpoint);
|
||||
void setSpawnPoint(glm::vec3 point);
|
||||
glm::vec3 getSpawnPoint() const;
|
||||
|
||||
std::unique_ptr<dynamic::Map> serialize() const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue