mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2016 Wildfire Games.
|
||||
/* Copyright (C) 2020 Wildfire Games.
|
||||
* This file is part of 0 A.D.
|
||||
*
|
||||
* 0 A.D. is free software: you can redistribute it and/or modify
|
||||
@@ -63,7 +63,7 @@ void CTerrainTextureManager::UnloadTerrainTextures()
|
||||
delete te;
|
||||
m_TextureEntries.clear();
|
||||
|
||||
for (const std::pair<CStr, CTerrainGroup*>& tg : m_TerrainGroups)
|
||||
for (const std::pair<const CStr, CTerrainGroup*>& tg : m_TerrainGroups)
|
||||
delete tg.second;
|
||||
m_TerrainGroups.clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user