mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-25 01:13:44 +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:
@@ -149,7 +149,12 @@ void CEntity::snapToGround()
|
||||
{
|
||||
CTerrain *pTerrain = g_Game->GetWorld()->GetTerrain();
|
||||
|
||||
#ifdef SCED
|
||||
extern CTerrain g_Terrain;
|
||||
m_graphics_position.Y = g_Terrain.getExactGroundLevel( m_graphics_position.X, m_graphics_position.Z );
|
||||
#else
|
||||
m_graphics_position.Y = pTerrain->getExactGroundLevel( m_graphics_position.X, m_graphics_position.Z );
|
||||
#endif
|
||||
}
|
||||
|
||||
void CEntity::update( size_t timestep )
|
||||
|
||||
Reference in New Issue
Block a user