Skip to content

Commit

Permalink
Updated debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ccw808 committed Jul 29, 2015
1 parent 675d006 commit 6c64556
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions MTA10/mods/shared_logic/CClientEntity.h
Expand Up @@ -175,16 +175,7 @@ class CClientEntity : public CClientEntityBase
// ignored. Note that if this value is 0, all sync packets should be accepted. This is
// so we don't need this byte when the element is created first.
inline unsigned char GetSyncTimeContext ( void ) { return m_ucSyncTimeContext; };
inline void SetSyncTimeContext ( unsigned char ucContext )
{
#ifdef MTA_DEBUG
if ( GetType ( ) == eClientEntityType::CCLIENTPLAYER )
{
g_pCore->GetConsole ( )->Printf ( "Player Sync Context Updated from %i to %i.", m_ucSyncTimeContext, ucContext );
}
#endif
m_ucSyncTimeContext = ucContext;
};
inline void SetSyncTimeContext ( unsigned char ucContext ) { m_ucSyncTimeContext = ucContext; }
bool CanUpdateSync ( unsigned char ucRemote );

inline const SString& GetName ( void ) const { return m_strName; }
Expand Down

0 comments on commit 6c64556

Please sign in to comment.