Fix for wrong type by vs2k5.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1991 4a71c877-e1ca-e34f-864e-861f7616d084
master
Dennis Schridde 2007-06-30 23:42:27 +00:00
parent c86c5aaa94
commit ae1bbe9894
1 changed files with 2 additions and 2 deletions

View File

@ -2432,7 +2432,7 @@ static BOOL renderWallSection(STRUCTURE *psStructure)
// We just store a separate IMD for each direction
static iIMDShape otherDirections[3];
static BOOL directionSet[3] = {FALSE, FALSE, FALSE};
iIMDShape *originalDirection;
iIMDShape *originalDirection = NULL;
if(psStructure->visible[selectedPlayer] || godMode || demoGetStatus())
@ -3984,7 +3984,7 @@ static iIMDShape *flattenImd(iIMDShape *imd, UDWORD structX, UDWORD structY, UDW
ASSERT( imd->npoints < iV_IMD_MAX_POINTS, "flattenImd: too many points in the PIE to flatten it" );
/* Get a copy of the points */
memcpy(alteredPoints, imd->points, imd->npoints * sizeof(Vector3i));
memcpy(alteredPoints, imd->points, imd->npoints * sizeof(Vector3f));
/* Get the height of the centre point for reference */
centreHeight = map_Height(structX,structY);