From 0aa154a656264ef259a0e27091c420ada9cdd5bc Mon Sep 17 00:00:00 2001 From: cx384 Date: Mon, 22 Sep 2025 12:24:43 +0200 Subject: [PATCH] Remove ; --- src/client/tile.cpp | 4 ++-- src/client/tile.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/tile.cpp b/src/client/tile.cpp index a6b20fd1a7..12533b403c 100644 --- a/src/client/tile.cpp +++ b/src/client/tile.cpp @@ -11,7 +11,7 @@ void AnimationInfo::updateTexture(video::SMaterial &material, float animation_ti assert(m_frame < m_frames->size()); material.setTexture(0, (*m_frames)[m_frame].texture); } -}; +} bool AnimationInfo::needUpdate(float animation_time) { @@ -23,7 +23,7 @@ bool AnimationInfo::needUpdate(float animation_time) return true; } return false; -}; +} void TileLayer::applyMaterialOptions(video::SMaterial &material, int layer) const { diff --git a/src/client/tile.h b/src/client/tile.h index 30e7bf5a7b..559646982d 100644 --- a/src/client/tile.h +++ b/src/client/tile.h @@ -169,7 +169,7 @@ struct AnimationInfo { bool needUpdate(float animation_time); // Returns last used frame - u16 getCurrentFrame() const { return m_frame; }; + u16 getCurrentFrame() const { return m_frame; } private: u16 m_frame = 0; // last animation frame