Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarToolUser.cpp
diff options
context:
space:
mode:
authorKai Blaschke <kai.blaschke@kb-dev.net>2024-02-28 18:11:55 +0100
committerKai Blaschke <kai.blaschke@kb-dev.net>2024-02-28 18:30:27 +0100
commitcd23817bf1884fee4457ab3381320b0c8fc33f48 (patch)
tree9440ff3b0386ca9e3b1bac9eda168741ec6debb3 /source/game/StarToolUser.cpp
parent28d486446ca176ef0168a7284d85cb49a75a54fb (diff)
Fixed remaining compiler warnings
Some warnings (e.g. in Opus and the tests) can't be fixed, only suppressed.
Diffstat (limited to 'source/game/StarToolUser.cpp')
-rw-r--r--source/game/StarToolUser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarToolUser.cpp b/source/game/StarToolUser.cpp
index c9bd068..4951128 100644
--- a/source/game/StarToolUser.cpp
+++ b/source/game/StarToolUser.cpp
@@ -524,7 +524,7 @@ List<PhysicsForceRegion> ToolUser::forceRegions() const {
return ds;
}
-void ToolUser::render(RenderCallback* renderCallback, bool inToolRange, bool shifting, EntityRenderLayer renderLayer) {
+void ToolUser::render(RenderCallback* renderCallback, bool, bool shifting, EntityRenderLayer renderLayer) {
if (m_suppress.get()) {
for (auto item : {m_primaryHandItem.get(), m_altHandItem.get()}) {
if (auto activeItem = as<ActiveItem>(item)) {