Skip to content

Commit 3e5dd5d

Browse files
authored
Fixed the eye angle property for HL2DM. (#523)
1 parent 15fdb03 commit 3e5dd5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/modules/players/players_entity.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ using namespace boost::python;
4646
#define EYE_ANGLE_PROPERTY(index) "blackmesalocaldata.m_angEyeAngles[" #index "]"
4747
#elif defined(ENGINE_BRANCH_GMOD)
4848
#define EYE_ANGLE_PROPERTY(index) "hl2mplocaldata.m_angEyeAngles[" #index "]"
49+
#elif defined(ENGINE_BRANCH_HL2DM)
50+
#define EYE_ANGLE_PROPERTY(index) "hl2mpnonlocaldata.m_angEyeAngles[" #index "]"
4951
#else
5052
#define EYE_ANGLE_PROPERTY(index) "m_angEyeAngles[" #index "]"
5153
#endif

0 commit comments

Comments
 (0)