diff --git a/source/glest_game/graphics/renderer.cpp b/source/glest_game/graphics/renderer.cpp index 71732e14..df1b4803 100644 --- a/source/glest_game/graphics/renderer.cpp +++ b/source/glest_game/graphics/renderer.cpp @@ -7495,7 +7495,10 @@ vector Renderer::renderUnitsFast(bool renderingShadows, bool colorPickin //render Model *model= unit->getCurrentModelPtr(); //if(this->gameCamera->getPos().dist(unit->getCurrVector()) <= SKIP_INTERPOLATION_DISTANCE) { - model->updateInterpolationVertices(unit->getAnimProgress(), unit->isAlive() && !unit->isAnimProgressBound()); + + // ***MV don't think this is needed below 2013/01/11 + //model->updateInterpolationVertices(unit->getAnimProgress(), unit->isAlive() && !unit->isAnimProgressBound()); + //} if(colorPickingSelection == true) { @@ -7560,7 +7563,6 @@ vector Renderer::renderObjectsFast(bool renderingShadows, bool resour visibleIndex < qCache.visibleObjectList.size(); ++visibleIndex) { Object *o = qCache.visibleObjectList[visibleIndex]; - if(modelRenderStarted == false) { modelRenderStarted = true; @@ -7602,7 +7604,10 @@ vector Renderer::renderObjectsFast(bool renderingShadows, bool resour if(resourceOnly == false || o->getResource()!= NULL) { Model *objModel= o->getModelPtr(); //if(this->gameCamera->getPos().dist(o->getPos()) <= SKIP_INTERPOLATION_DISTANCE) { - objModel->updateInterpolationData(o->getAnimProgress(), true); + + // ***MV don't think this is needed below 2013/01/11 + //objModel->updateInterpolationData(o->getAnimProgress(), true); + //} const Vec3f &v= o->getConstPos(); diff --git a/source/glest_game/world/world.cpp b/source/glest_game/world/world.cpp index b7d634fb..234a6934 100644 --- a/source/glest_game/world/world.cpp +++ b/source/glest_game/world/world.cpp @@ -2413,8 +2413,6 @@ string World::getExploredCellsLookupItemCacheStats() { string World::getFowAlphaCellsLookupItemCacheStats() { string result = ""; - int posCount = 0; - int sightCount = 0; int surfPosCount = 0; int alphaListCount = 0; @@ -2436,7 +2434,7 @@ string World::getFowAlphaCellsLookupItemCacheStats() { totalBytes /= 1000; char szBuf[8096]=""; - snprintf(szBuf,8096,"pos [%d] sight [%d] [%d][%d] total KB: %s",posCount,sightCount,surfPosCount,alphaListCount,formatNumber(totalBytes).c_str()); + snprintf(szBuf,8096,"surface count [%d] alpha count [%d] total KB: %s",surfPosCount,alphaListCount,formatNumber(totalBytes).c_str()); result = szBuf; return result; }