1
0
forked from 0ad/0ad

Removes unused variables after 7f38bef8e1 and 75d9c6293b. Reported by elexis.

This was SVN commit r23046.
This commit is contained in:
Vladislav Belov 2019-10-04 22:06:52 +00:00
parent 04745e7fdf
commit d7ea078583
2 changed files with 0 additions and 5 deletions

View File

@ -61,10 +61,6 @@
#include "simulation2/components/ICmpPosition.h"
#include "simulation2/components/ICmpRangeManager.h"
// Maximum distance outside the edge of the map that the camera's
// focus point can be moved
static const float CAMERA_EDGE_MARGIN = 2.0f * TERRAIN_TILE_SIZE;
class CGameViewImpl
{
NONCOPYABLE(CGameViewImpl);

View File

@ -370,7 +370,6 @@ void WriteBigScreenshot(const VfsPath& extension, int tiles)
// Render each tile
CMatrix3D projection;
projection.SetIdentity();
const CCamera& camera = *(g_Game->GetView()->GetCamera());
for (int tile_y = 0; tile_y < tiles; ++tile_y)
{
for (int tile_x = 0; tile_x < tiles; ++tile_x)