refactor: remove calls to Vec3::newTemp and Vec3::newPermanent
This commit is contained in:
1 parent
bee10e55a8
commit
e887c8cf45
63 files changed
+407
-374
No files matched your search
@@ -23,6 +23,7 @@
|
||||
#include "../../Minecraft.Client/Level/MultiPlayerLevel.h"
|
||||
#include "../../Minecraft.Client/Player/MultiPlayerLocalPlayer.h"
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
#include "../../Minecraft.Client/Level/ServerLevel.h"
|
||||
#include "../../Minecraft.Client/Network/PlayerList.h"
|
||||
|
||||
@@ -1533,7 +1534,7 @@ void Entity::lerpTo(double x, double y, double z, float yRot, float xRot,
|
||||
|
||||
float Entity::getPickRadius() { return 0.1f; }
|
||||
|
||||
Vec3* Entity::getLookAngle() { return NULL; }
|
||||
std::optional<Vec3> Entity::getLookAngle() { return std::nullopt; }
|
||||
|
||||
void Entity::handleInsidePortal() {
|
||||
if (changingDimensionDelay > 0) {
|
||||
|
||||
Reference in new issue
Block a user