From 7b80f34f4fde7fefb59c4fd77d4a5b4fe14619f0 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Sun, 15 Mar 2015 17:58:42 +0100 Subject: [PATCH] Removing pointless increment. --- game/physics.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/game/physics.cc b/game/physics.cc index 4552fa5..02bc29a 100644 --- a/game/physics.cc +++ b/game/physics.cc @@ -184,7 +184,6 @@ void Physics::addTerrain(int width, int length, float** heightData) //The terrai highest = heightData[j][i]; //bullet needs to know the highest point of the heightmap } } - highest++; btHeightfieldTerrainShape* terrainShape = new btHeightfieldTerrainShape(length,width,heightfield,highest,1,true,false); btRigidBody::btRigidBodyConstructionInfo info(0,new btDefaultMotionState(),terrainShape,btVector3(0,0,0)); //next we process all data for the rigid body into info