1
0

Added name tag

This commit is contained in:
Howaner
2014-09-01 21:05:45 +02:00
parent 7c4cb9a385
commit dfed6f94ca
7 changed files with 31 additions and 3 deletions

View File

@@ -62,6 +62,8 @@ bool cBoat::DoTakeDamage(TakeDamageInfo & TDI)
void cBoat::OnRightClicked(cPlayer & a_Player)
{
super::OnRightClicked(a_Player);
if (m_Attachee != NULL)
{
if (m_Attachee->GetUniqueID() == a_Player.GetUniqueID())