diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/game.cpp | 1 | ||||
-rw-r--r-- | src/client/mapblock_mesh.cpp | 2 | ||||
-rw-r--r-- | src/client/particles.h | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp index 61b957e78..c34e3a415 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -846,7 +846,6 @@ private: EventManager *eventmgr = nullptr; QuicktuneShortcutter *quicktune = nullptr; - bool registration_confirmation_shown = false; std::unique_ptr<GameUI> m_game_ui; GUIChatConsole *gui_chat_console = nullptr; // Free using ->Drop() diff --git a/src/client/mapblock_mesh.cpp b/src/client/mapblock_mesh.cpp index d8a8c25eb..c730b9bf9 100644 --- a/src/client/mapblock_mesh.cpp +++ b/src/client/mapblock_mesh.cpp @@ -1174,7 +1174,7 @@ void PartialMeshBuffer::beforeDraw() const void PartialMeshBuffer::afterDraw() const { // Take the data back - m_vertex_indexes = std::move(m_buffer->Indices.steal()); + m_vertex_indexes = m_buffer->Indices.steal(); } /* diff --git a/src/client/particles.h b/src/client/particles.h index 36be903f1..0818b796b 100644 --- a/src/client/particles.h +++ b/src/client/particles.h @@ -39,7 +39,6 @@ struct ClientTexture video::ITexture *ref = nullptr; ClientTexture() = default; - ClientTexture(const ClientTexture&) = default; ClientTexture(const ServerParticleTexture& p, ITextureSource *t): tex(p), ref(t->getTextureForMesh(p.string)) {}; @@ -52,7 +51,6 @@ struct ClientTexRef ParticleTexture* tex = nullptr; video::ITexture* ref = nullptr; ClientTexRef() = default; - ClientTexRef(const ClientTexRef&) = default; /* constructor used by particles spawned from a spawner */ ClientTexRef(ClientTexture& t): |