mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 10:52:59 +00:00
Handle disconnections better.
Remove local sessions (just use ENet for everything instead) because they add far too much complexity. Fix memory leaks. This was SVN commit r7706.
This commit is contained in:
@@ -448,7 +448,9 @@ void CXMLReader::ReadTerrain(XMBElement parent)
|
||||
m_MapReader.m_PatchesPerSide = patches;
|
||||
|
||||
// Load the texture
|
||||
CTextureEntry* texentry = g_TexMan.FindTexture(texture);
|
||||
CTextureEntry* texentry = NULL;
|
||||
if (CTextureManager::IsInitialised())
|
||||
texentry = g_TexMan.FindTexture(texture);
|
||||
|
||||
m_MapReader.pTerrain->Initialize(patches, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user