Permalink
Browse files

Fixed crash caused by calling client-side setPlayerNametagShowing wit…

…h a ped
  • Loading branch information...
ccw808 committed Apr 3, 2018
1 parent 035084c commit 554a27d5bd8ac9f564b84d2449e6e56d88b0d762
Showing with 1 addition and 1 deletion.
  1. +1 −1 Client/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp
@@ -1919,7 +1919,7 @@ bool CStaticFunctionDefinitions::SetPlayerNametagShowing(CClientEntity& Entity,
{
RUN_CHILDREN(SetPlayerNametagShowing(**iter, bShowing))
if (IS_PED(&Entity))
if (IS_PLAYER(&Entity))
{
CClientPlayer& Player = static_cast<CClientPlayer&>(Entity);

0 comments on commit 554a27d

Please sign in to comment.