This was SVN commit r1793.
This commit is contained in:
parent
225446d648
commit
02cc4d9c8e
@ -31,7 +31,7 @@ bool CPlayer::ValidateCommand(CNetMessage *pMsg)
|
|||||||
|
|
||||||
static bool ControllerPredicate( CEntity* entity, void* userdata )
|
static bool ControllerPredicate( CEntity* entity, void* userdata )
|
||||||
{
|
{
|
||||||
return( entity->m_player == userdata );
|
return( entity->GetPlayer() == userdata );
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<HEntity>* CPlayer::GetControlledEntities()
|
std::vector<HEntity>* CPlayer::GetControlledEntities()
|
||||||
|
@ -18,7 +18,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
CStrW m_Name;
|
CStrW m_Name;
|
||||||
uint m_PlayerID;
|
PS_uint m_PlayerID;
|
||||||
SPlayerColour m_Colour;
|
SPlayerColour m_Colour;
|
||||||
|
|
||||||
UpdateCallback *m_UpdateCB;
|
UpdateCallback *m_UpdateCB;
|
||||||
@ -31,7 +31,7 @@ public:
|
|||||||
|
|
||||||
bool ValidateCommand(CNetMessage *pMsg);
|
bool ValidateCommand(CNetMessage *pMsg);
|
||||||
|
|
||||||
inline uint GetPlayerID() const
|
inline PS_uint GetPlayerID() const
|
||||||
{ return m_PlayerID; }
|
{ return m_PlayerID; }
|
||||||
|
|
||||||
inline const CStrW &GetName() const
|
inline const CStrW &GetName() const
|
||||||
|
Loading…
Reference in New Issue
Block a user