mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
This was SVN commit r1760.
This commit is contained in:
@@ -34,7 +34,7 @@ CUnitManager::~CUnitManager()
|
||||
// AddUnit: add given unit to world
|
||||
void CUnitManager::AddUnit(CUnit* unit)
|
||||
{
|
||||
unit->GetModel()->SetPlayerID(unit->GetEntity()->m_player->GetPlayerID());
|
||||
//unit->GetModel()->SetPlayerID(unit->GetEntity()->m_player->GetPlayerID());
|
||||
m_Units.push_back(unit);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user