diff options
author | aap <aap@papnet.eu> | 2021-08-02 20:04:15 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-08-02 20:05:39 +0200 |
commit | 0338d4c393f45cd6aede7bc24190f9558c4a6f94 (patch) | |
tree | 564ba651a4992f65888f6d0760ee5fdfc436b23b /src/entities/Entity.h | |
parent | Merge branch 'miami' into lcs (diff) | |
download | re3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.tar re3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.tar.gz re3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.tar.bz2 re3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.tar.lz re3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.tar.xz re3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.tar.zst re3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.zip |
Diffstat (limited to '')
-rw-r--r-- | src/entities/Entity.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entities/Entity.h b/src/entities/Entity.h index dbe8c6e2..6f948d49 100644 --- a/src/entities/Entity.h +++ b/src/entities/Entity.h @@ -14,6 +14,7 @@ enum eEntityType ENTITY_TYPE_PED, ENTITY_TYPE_OBJECT, ENTITY_TYPE_DUMMY, + ENTITY_TYPE_MULTIPLAYER }; enum eEntityStatus @@ -153,6 +154,7 @@ public: bool IsPed(void) { return m_type == ENTITY_TYPE_PED; } bool IsObject(void) { return m_type == ENTITY_TYPE_OBJECT; } bool IsDummy(void) { return m_type == ENTITY_TYPE_DUMMY; } + bool IsMultiplayer(void) { return m_type == ENTITY_TYPE_MULTIPLAYER; } RpAtomic *GetAtomic(void) { assert(RwObjectGetType(m_rwObject) == rpATOMIC); |