summaryrefslogtreecommitdiff
path: root/src/serverobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/serverobject.h')
-rw-r--r--src/serverobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serverobject.h b/src/serverobject.h
index 42eed0710..08f7a7e58 100644
--- a/src/serverobject.h
+++ b/src/serverobject.h
@@ -147,7 +147,7 @@ public:
virtual void setArmorGroups(const ItemGroupList &armor_groups)
{}
- virtual const ItemGroupList &getArmorGroups()
+ virtual const ItemGroupList &getArmorGroups() const
{ static ItemGroupList rv; return rv; }
virtual void setPhysicsOverride(float physics_override_speed, float physics_override_jump, float physics_override_gravity)
{}