1
0
forked from 0ad/0ad

This was SVN commit r1793.

This commit is contained in:
NoMonkey 2005-01-23 22:21:37 +00:00
parent 225446d648
commit 02cc4d9c8e
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ bool CPlayer::ValidateCommand(CNetMessage *pMsg)
static bool ControllerPredicate( CEntity* entity, void* userdata )
{
return( entity->m_player == userdata );
return( entity->GetPlayer() == userdata );
}
std::vector<HEntity>* CPlayer::GetControlledEntities()

View File

@ -18,7 +18,7 @@ public:
private:
CStrW m_Name;
uint m_PlayerID;
PS_uint m_PlayerID;
SPlayerColour m_Colour;
UpdateCallback *m_UpdateCB;
@ -31,7 +31,7 @@ public:
bool ValidateCommand(CNetMessage *pMsg);
inline uint GetPlayerID() const
inline PS_uint GetPlayerID() const
{ return m_PlayerID; }
inline const CStrW &GetName() const