File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
addons/source-python/data/source-python/entities/orangebox
src/core/modules/entities Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11[function]
22
33 [[increment_frag_count]]
4- identifier_windows = 55 8B EC 8B 45 08 01 81 68 0E 00 00
4+ identifier_windows = 55 8B EC 8B 45 08 01 81 38 0E 00 00
55 identifier_linux = _ZN11CBasePlayer18IncrementFragCountEi
66 arguments = INT
77
88 [[increment_death_count]]
9- identifier_windows = 55 8B EC 8B 45 08 01 81 6C 0E 00 00
9+ identifier_windows = 55 8B EC 8B 45 08 01 81 3C 0E 00 00
1010 identifier_linux = _ZN11CBasePlayer19IncrementDeathCountEi
1111 arguments = INT
1212
Original file line number Diff line number Diff line change 11[function]
22
33 [[add_account]]
4- identifier_windows = 55 8B EC 83 EC 20 89 4D FC 8D 45 08
4+ identifier_windows = 55 8B EC 83 EC 18 89 4D FC 8D 45 08
55 identifier_linux = _ZN9CCSPlayer10AddAccountEibbPKc
66 arguments = INT, BOOL, BOOL, STRING
77
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ class TakeDamageInfoBaseWrapper: public CTakeDamageInfo
103103 void set_inflictor (unsigned int uiInflictor)
104104 {
105105#if defined(ENGINE_ORANGEBOX)
106- m_hInflictor = EHANDLE::UnsafeFromIndex ( uiInflictor);
106+ m_hInflictor = EHANDLE::UnsafeFromBaseHandle ( ExcBaseHandleFromIndex ( uiInflictor) );
107107#else
108108 m_hInflictor = ExcBaseHandleFromIndex (uiInflictor);
109109#endif
@@ -148,7 +148,7 @@ class TakeDamageInfoBaseWrapper: public CTakeDamageInfo
148148 m_CSGOAttacker.m_iUserId = -1 ;
149149 }
150150#elif defined(ENGINE_ORANGEBOX)
151- m_hAttacker = EHANDLE::UnsafeFromIndex ( uiAttacker);
151+ m_hAttacker = EHANDLE::UnsafeFromBaseHandle ( ExcBaseHandleFromIndex ( uiAttacker) );
152152#else
153153 m_hAttacker = ExcBaseHandleFromIndex (uiAttacker);
154154#endif
@@ -179,7 +179,7 @@ class TakeDamageInfoBaseWrapper: public CTakeDamageInfo
179179 void set_weapon (unsigned int uiWeapon)
180180 {
181181#if defined(ENGINE_ORANGEBOX)
182- m_hWeapon = EHANDLE::UnsafeFromIndex ( uiWeapon);
182+ m_hWeapon = EHANDLE::UnsafeFromBaseHandle ( ExcBaseHandleFromIndex ( uiWeapon) );
183183#else
184184 m_hWeapon = ExcBaseHandleFromIndex (uiWeapon);
185185#endif
You can’t perform that action at this time.
0 commit comments