mirror of
https://github.com/fortressforever/fortressforever-2013.git
synced 2024-11-10 07:11:45 +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() )
|
||||
return NULL;
|
||||
#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
|
||||
return static_cast<CBaseMultiplayerPlayer *>( pEntity );
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue