mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-09 09:11:42 +00:00
Made ScEd output entities into an XML file.
Added CStrW::utf8() (used by XMLWriter). This was SVN commit r1716.
This commit is contained in:
1 parent
570e3c46d7
commit
4720a00f98
21 files changed
+407
-76
No files matched your search
@@ -41,7 +41,7 @@ void CPaintObjectCommand::Finalize()
|
||||
CVector3D orient = m_Unit->GetModel()->GetTransform().GetIn();
|
||||
CVector3D position = m_Unit->GetModel()->GetTransform().GetTranslation();
|
||||
g_UnitMan.RemoveUnit(m_Unit);
|
||||
g_EntityManager.create( templateObject, position, atan2( orient.X, orient.Z ) );
|
||||
g_EntityManager.create( templateObject, position, atan2( -orient.X, -orient.Z ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user