mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-30 04:40:53 +00:00
Changed: #1135 Merge changes from Ryzom patch 1.10
This commit is contained in:
parent
d2fb854a0e
commit
34d34340f9
1 changed files with 2 additions and 2 deletions
|
@ -2514,7 +2514,7 @@ NLMISC::CRGBA CEntityCL::getColor () const
|
||||||
if (getPvpMode()&PVP_MODE::PvpFactionFlagged || getPvpMode()&PVP_MODE::PvpChallenge)
|
if (getPvpMode()&PVP_MODE::PvpFactionFlagged || getPvpMode()&PVP_MODE::PvpChallenge)
|
||||||
return _PvpEnemyColor;
|
return _PvpEnemyColor;
|
||||||
else
|
else
|
||||||
return CRGBA::CRGBA(min(255, _PvpEnemyColor.R+150), min(255, _PvpEnemyColor.G+150), min(255, _PvpEnemyColor.B+150),_PvpEnemyColor.A);
|
return CRGBA(min(255, _PvpEnemyColor.R+150), min(255, _PvpEnemyColor.G+150), min(255, _PvpEnemyColor.B+150),_PvpEnemyColor.A);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// neutral pvp
|
// neutral pvp
|
||||||
|
@ -2538,7 +2538,7 @@ NLMISC::CRGBA CEntityCL::getColor () const
|
||||||
if (getPvpMode()&PVP_MODE::PvpFactionFlagged)
|
if (getPvpMode()&PVP_MODE::PvpFactionFlagged)
|
||||||
return _PvpAllyColor;
|
return _PvpAllyColor;
|
||||||
else
|
else
|
||||||
return CRGBA::CRGBA(min(255, _PvpAllyColor.R+150), min(255, _PvpAllyColor.G+150), min(255, _PvpAllyColor.B+150),_PvpAllyColor.A);
|
return CRGBA(min(255, _PvpAllyColor.R+150), min(255, _PvpAllyColor.G+150), min(255, _PvpAllyColor.B+150),_PvpAllyColor.A);
|
||||||
}
|
}
|
||||||
// neutral
|
// neutral
|
||||||
if (isInTeam())
|
if (isInTeam())
|
||||||
|
|
Loading…
Reference in a new issue