Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/core/modules/entities/entities_entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -778,13 +778,13 @@ void CBaseEntityWrapper::SetDamageFilter(const char* filter)

int CBaseEntityWrapper::GetEffects()
{
static int offset = FindNetworkPropertyOffset("m_fEffects");
static int offset = FindDatamapPropertyOffset("m_fEffects");
return GetNetworkPropertyByOffset<int>(offset);
}

void CBaseEntityWrapper::SetEffects(int effects)
{
static int offset = FindNetworkPropertyOffset("m_fEffects");
static int offset = FindDatamapPropertyOffset("m_fEffects");
SetNetworkPropertyByOffset<int>(offset, effects);
}

Expand Down