mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-14 06:58:07 +00:00
Fixes inconsistencies in spelling of colour/color by preferring "color" (only wxWidgets remains with some API that requires "colour"), fixes #1029.
NOTE: requires update-workspaces and may require correction of some modded actors/scenarios This was SVN commit r16438.
This commit is contained in:
@@ -666,10 +666,10 @@ void CModel::SetPlayerID(player_id_t id)
|
||||
it->m_Model->SetPlayerID(id);
|
||||
}
|
||||
|
||||
void CModel::SetShadingColor(const CColor& colour)
|
||||
void CModel::SetShadingColor(const CColor& color)
|
||||
{
|
||||
CModelAbstract::SetShadingColor(colour);
|
||||
CModelAbstract::SetShadingColor(color);
|
||||
|
||||
for (std::vector<Prop>::iterator it = m_Props.begin(); it != m_Props.end(); ++it)
|
||||
it->m_Model->SetShadingColor(colour);
|
||||
it->m_Model->SetShadingColor(color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user