woups
This commit is contained in:
		| @@ -8,11 +8,11 @@ | |||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| RemotePlayer::RemotePlayer(netprot::PlayerInfo pinfo) : m_pinfo(pinfo), m_aminacc(0.0f), m_animstate(Anim::STILL), m_team_id(0), current(), previous(), m_texture_front(), Player(Vector3f(0, 0, 0)){ | RemotePlayer::RemotePlayer(netprot::PlayerInfo* pinfo) : m_pinfo(*pinfo), m_aminacc(0.0f), m_animstate(Anim::STILL), m_team_id(0), current(), previous(), m_texture_front(), Player(Vector3f(0, 0, 0)){ | ||||||
|  |  | ||||||
| } | } | ||||||
|  |  | ||||||
| RemotePlayer::RemotePlayer(netprot::PlayerInfo pinfo, const Vector3f& pos) : m_pinfo(pinfo), m_aminacc(0.0f), m_animstate(Anim::STILL), m_team_id(0), current(), previous(), m_texture_front(), Player(pos) { | RemotePlayer::RemotePlayer(netprot::PlayerInfo* pinfo, const Vector3f& pos) : m_pinfo(*pinfo), m_aminacc(0.0f), m_animstate(Anim::STILL), m_team_id(0), current(), previous(), m_texture_front(), Player(pos) { | ||||||
|  |  | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -14,8 +14,8 @@ class RemotePlayer : public Player { | |||||||
| public: | public: | ||||||
| 	enum Anim: uint8_t { STILL = 1, RUNNING = 2, JUMPING = 4, SHOOTING = 8, POWERUP = 16,  DEAD = 32 }; // A REVOIR VOIR DEFINE.H POUR LES ANIMES | 	enum Anim: uint8_t { STILL = 1, RUNNING = 2, JUMPING = 4, SHOOTING = 8, POWERUP = 16,  DEAD = 32 }; // A REVOIR VOIR DEFINE.H POUR LES ANIMES | ||||||
| 	 | 	 | ||||||
| 	RemotePlayer(netprot::PlayerInfo pinfo); | 	RemotePlayer(netprot::PlayerInfo* pinfo); | ||||||
| 	RemotePlayer(netprot::PlayerInfo pinfo, const Vector3f& pos); | 	RemotePlayer(netprot::PlayerInfo* pinfo, const Vector3f& pos); | ||||||
| 	~RemotePlayer(); | 	~RemotePlayer(); | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user