mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 10:29:00 +00:00
The clone of g_Map.height was only used to read its length, while all neighbor heights are read from g_Map itself. Cloning the whole heightmap on every iteration was therefore pure overhead.