Ticket #309: region_borders_on_water_surface.patch
| File region_borders_on_water_surface.patch, 386 bytes (added by BadassTester, 2 years ago) |
|---|
| Line | |
|---|---|
| 1 | Index: trunk/source/simulation/TerritoryManager.cpp |
| 2 | =================================================================== |
| 3 | 40a41,42 |
| 4 | > #include "renderer/Renderer.h" |
| 5 | > #include "renderer/WaterManager.h" |
| 6 | 298c300 |
| 7 | < glVertex3f( coords[i].X, coords[i].Y, coords[i].Z ); |
| 8 | --- |
| 9 | > glVertex3f( coords[i].X , std::max(coords[i].Y , g_Renderer.GetWaterManager()->m_WaterHeight), coords[i].Z ); |
