We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2ed4c2 commit af069f2Copy full SHA for af069f2
src/core/modules/entities/entities_entity.cpp
@@ -778,13 +778,13 @@ void CBaseEntityWrapper::SetDamageFilter(const char* filter)
778
779
int CBaseEntityWrapper::GetEffects()
780
{
781
- static int offset = FindNetworkPropertyOffset("m_fEffects");
+ static int offset = FindDatamapPropertyOffset("m_fEffects");
782
return GetNetworkPropertyByOffset<int>(offset);
783
}
784
785
void CBaseEntityWrapper::SetEffects(int effects)
786
787
788
SetNetworkPropertyByOffset<int>(offset, effects);
789
790
0 commit comments