Skip to content

Commit c393226

Browse files
committed
.
1 parent ad5c47a commit c393226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/modules/players/players_wrap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ int CPlayerInfo::get_max_health() const
181181

182182
CEdict* CPlayerInfo::get_edict() const
183183
{
184-
return new CEdict(m_edict_ptr->get_edict());
184+
return m_edict_ptr;
185185
}
186186

187187
//-----------------------------------------------------------------------------

0 commit comments

Comments
 (0)