mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 07:05:38 +03:00
Cleanup. Added define CSTRIKE in build gradle
This commit is contained in:
parent
48ec89893a
commit
fd665a9764
@ -183,7 +183,7 @@ void setupToolchain(NativeBinarySpec b)
|
|||||||
|
|
||||||
if (!unitTestExecutable && !mpLib)
|
if (!unitTestExecutable && !mpLib)
|
||||||
{
|
{
|
||||||
cfg.singleDefines 'HOOK_GAMEDLL'
|
cfg.singleDefines 'HOOK_GAMEDLL', 'CSTRIKE'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (unitTestExecutable)
|
if (unitTestExecutable)
|
||||||
|
@ -1221,9 +1221,9 @@ void SV_StudioSetupBones(model_t *pModel, float frame, int sequence, const vec_t
|
|||||||
|
|
||||||
VectorCopy(angles, temp_angles);
|
VectorCopy(angles, temp_angles);
|
||||||
|
|
||||||
if (pEdict)
|
if (pEdict != NULL)
|
||||||
{
|
{
|
||||||
temp_angles[1] = UTIL_GetPlayerGaitYaw(g_engfuncs.pfnIndexOfEdict(pEdict));
|
temp_angles[1] = UTIL_GetPlayerGaitYaw(ENTINDEX(pEdict));
|
||||||
|
|
||||||
if (temp_angles[1] < 0)
|
if (temp_angles[1] < 0)
|
||||||
temp_angles[1] += 360.0f;
|
temp_angles[1] += 360.0f;
|
||||||
|
@ -42,7 +42,7 @@ public:
|
|||||||
virtual int Restore(CRestore &restore);
|
virtual int Restore(CRestore &restore);
|
||||||
virtual int ObjectCaps(void)
|
virtual int ObjectCaps(void)
|
||||||
{
|
{
|
||||||
return ((CBaseToggle::ObjectCaps()|FCAP_CONTINUOUS_USE) & ~FCAP_ACROSS_TRANSITION);
|
return ((CBaseToggle::ObjectCaps() | FCAP_CONTINUOUS_USE) & ~FCAP_ACROSS_TRANSITION);
|
||||||
}
|
}
|
||||||
virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value);
|
virtual void Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value);
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ NOXREF void CKnife::WeaponAnimation(int iAnimation)
|
|||||||
m_usKnife,
|
m_usKnife,
|
||||||
0,
|
0,
|
||||||
(float *)&g_vecZero,
|
(float *)&g_vecZero,
|
||||||
(float*)&g_vecZero,
|
(float *)&g_vecZero,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
iAnimation,
|
iAnimation,
|
||||||
|
Loading…
Reference in New Issue
Block a user