summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r--src/Entities/Player.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index 777a533c9..f04bcdd39 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -50,7 +50,7 @@ public:
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
- void TickFreezeCode(bool a_MyChunkIsSent);
+ void TickFreezeCode();
virtual void HandlePhysics(std::chrono::milliseconds a_Dt, cChunk &) override { UNUSED(a_Dt); }
@@ -148,9 +148,6 @@ public:
/** Is the player frozen? */
bool IsFrozen();
- /** How long has the player been frozen? */
- int GetFrozenDuration();
-
/** Cancels Freeze(...) and allows the player to move naturally. */
void Unfreeze();
@@ -605,15 +602,9 @@ protected:
cSlotNums m_InventoryPaintSlots;
- /** if m_IsFrozen is true, we lock m_Location to this position. */
- Vector3d m_FrozenPosition;
-
/** If true, we are locking m_Position to m_FrozenPosition. */
bool m_IsFrozen;
- /** */
- int m_FreezeCounter;
-
/** Was the player frozen manually by a plugin or automatically by the server? */
bool m_IsManuallyFrozen;