summaryrefslogtreecommitdiff
path: root/src/common.hpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-18 19:55:43 +0000
committerPaweł Redman <pawel.redman@gmail.com>2017-12-18 19:55:43 +0000
commitb0cb2054fae07a688174d6b78fd310c986233de3 (patch)
treecc6f480fc2a1f7c0fc0b3de7226d352f5c005f85 /src/common.hpp
parent2d0ca20e5f8775960e1e93add81876ed6fa26707 (diff)
Drastically reduce the number of awake entities.
Diffstat (limited to 'src/common.hpp')
-rw-r--r--src/common.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.hpp b/src/common.hpp
index f136487..3131b69 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -213,6 +213,7 @@ namespace game {
class state_t {
protected:
friend entity_t;
+ friend interface::state_t;
std::unordered_set<entity_t*> awake_entities;
std::unordered_set<unit_t*> selected_units;