summaryrefslogtreecommitdiff
path: root/src/activeobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/activeobject.h')
-rw-r--r--src/activeobject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/activeobject.h b/src/activeobject.h
index 48f078d3f..fe6c08514 100644
--- a/src/activeobject.h
+++ b/src/activeobject.h
@@ -64,7 +64,7 @@ public:
m_id(id)
{
}
-
+
u16 getId()
{
return m_id;
@@ -76,8 +76,8 @@ public:
}
virtual ActiveObjectType getType() const = 0;
- virtual bool getCollisionBox(aabb3f *toset) = 0;
- virtual bool collideWithObjects() = 0;
+ virtual bool getCollisionBox(aabb3f *toset) const = 0;
+ virtual bool collideWithObjects() const = 0;
protected:
u16 m_id; // 0 is invalid, "no id"
};