From 66ce015e5927c30801110acd289310fdff181792 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 17 Sep 2010 18:58:46 +0000 Subject: Initial support for players docking other players' ships. --- src/core/entity.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/core/entity.h') diff --git a/src/core/entity.h b/src/core/entity.h index 6a7fa7e..fea784a 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -183,7 +183,11 @@ public: /// find a menu MenuDescription *find_menu(const std::string &label); - + + /// true if the entity is to be deleted + inline bool destroyed() const { + return entity_destroyed; + } /* ---- mutators -------------------------------------------------- */ -- cgit v1.2.3