mirror of
https://github.com/fortressforever/fortressforever-2013.git
synced 2025-02-15 08:32:15 +00:00
Fixed players chat not showing to others (it was only showing to themselves).
This commit is contained in:
parent
8e52a86fd3
commit
a629a38627
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ inline CBaseMultiplayerPlayer *ToBaseMultiplayerPlayer( CBaseEntity *pEntity )
|
||||||
if ( !pEntity || !pEntity->IsPlayer() )
|
if ( !pEntity || !pEntity->IsPlayer() )
|
||||||
return NULL;
|
return NULL;
|
||||||
#if _DEBUG
|
#if _DEBUG
|
||||||
return dynamic_cast<CBaseMultiplayerPlayer *>( pEntity );
|
return static_cast<CBaseMultiplayerPlayer *>( pEntity ); // FF --> hlstriker: Changed to static_cast. Not sure why dynamic_cast wasn't working for this.
|
||||||
#else
|
#else
|
||||||
return static_cast<CBaseMultiplayerPlayer *>( pEntity );
|
return static_cast<CBaseMultiplayerPlayer *>( pEntity );
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue