Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/entity.h')
-rw-r--r--src/core/entity.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/entity.h b/src/core/entity.h
index 180d535..c988143 100644
--- a/src/core/entity.h
+++ b/src/core/entity.h
@@ -114,6 +114,9 @@ public:
/// base radius of the entity
inline float radius() const { return entity_radius; }
+ /// indicates a server-side entity
+ inline bool serverside() const { return entity_serverside; }
+
/*----- serializers ----------------------------------------------- */
/// serialize the entity to a stream
@@ -205,6 +208,8 @@ protected:
// the previous zone the entity belonged too
Zone *entity_oldzone;
+ bool entity_serverside;
+
private:
// add an entity to the registry
static void add(Entity *ent);