Skip to content

Commit 928da16

Browse files
authored
Remove client entity check from setPedArmor (#1638)
Fixes #1636
1 parent 1c253bc commit 928da16

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Client/mods/deathmatch/logic/luadefs/CLuaPedDefs.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2188,9 +2188,6 @@ int CLuaPedDefs::SetPedMoveAnim(lua_State* luaVM)
21882188

21892189
bool CLuaPedDefs::SetPedArmor(CClientPed* const ped, const float armor)
21902190
{
2191-
if (!ped->IsLocalEntity())
2192-
return false;
2193-
21942191
ped->SetArmor(armor);
21952192
return true;
21962193
}

0 commit comments

Comments
 (0)