Fix valgrind warning about an uninitialized variable in display3d.c

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7321 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2009-05-04 20:05:09 +00:00 committed by Git SVN Gateway
parent c8b522c092
commit 74a0ad9a94
1 changed files with 2 additions and 0 deletions

View File

@ -950,6 +950,8 @@ BOOL init3DView(void)
// distance is not saved, so initialise it now
distance = START_DISTANCE; // distance
disp3d_resetView(); // clear player view variables
if (!initTerrain())
{
return false;