forked from 0ad/0ad
Make atlas player assignment apply to all of the currently selected units
This was SVN commit r14273.
This commit is contained in:
parent
f09d56fb28
commit
68880ca5d5
@ -153,6 +153,9 @@ void ObjectSettings::PostToGame()
|
||||
{
|
||||
if (m_SelectedObjects.empty())
|
||||
return;
|
||||
|
||||
POST_COMMAND(SetObjectSettings, (m_View, m_SelectedObjects[0], GetSettings()));
|
||||
|
||||
for (std::vector<AtlasMessage::ObjectID>::iterator it = m_SelectedObjects.begin(); it != m_SelectedObjects.end(); it++)
|
||||
{
|
||||
POST_COMMAND(SetObjectSettings, (m_View, *it, GetSettings()));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user