diff options
| author | Marius "Teelevision" Neugebauer <marius@teele.eu> | 2014-03-28 00:33:40 +0100 |
|---|---|---|
| committer | Marius "Teelevision" Neugebauer <marius@teele.eu> | 2014-03-28 00:33:40 +0100 |
| commit | 9e266f4c1dafdba5b562e46bba3eca9dfddb95f3 (patch) | |
| tree | 103759bae45803af69b6c04ea816b3e9080b7aa2 /src/game/server/entity.h | |
| parent | 814138ac95e0f46702c02aba4bef722e08f903d3 (diff) | |
| download | zcatch-9e266f4c1dafdba5b562e46bba3eca9dfddb95f3.tar.gz zcatch-9e266f4c1dafdba5b562e46bba3eca9dfddb95f3.zip | |
anti-spray protection for some cases
Diffstat (limited to 'src/game/server/entity.h')
| -rw-r--r-- | src/game/server/entity.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/server/entity.h b/src/game/server/entity.h index 0f838730..7abf76c9 100644 --- a/src/game/server/entity.h +++ b/src/game/server/entity.h @@ -154,6 +154,11 @@ public: Contains the current posititon of the entity. */ vec2 m_Pos; + + // nearby characters + bool m_CharactersNearbyInitialized; + bool m_CharactersNearby[MAX_CLIENTS]; + void SetCharactersNearby(); }; #endif |