diff --git a/Core/GameEngineDevice/Source/W3DDevice/GameClient/BaseHeightMap.cpp b/Core/GameEngineDevice/Source/W3DDevice/GameClient/BaseHeightMap.cpp index 475c782a9a5..54f5a420810 100644 --- a/Core/GameEngineDevice/Source/W3DDevice/GameClient/BaseHeightMap.cpp +++ b/Core/GameEngineDevice/Source/W3DDevice/GameClient/BaseHeightMap.cpp @@ -375,8 +375,7 @@ void BaseHeightMapRenderObjClass::adjustTerrainLOD(Int adj) newROBJ->m_roadBuffer->loadRoads(); } if (TheTacticalView) { - TheTacticalView->setAngle(TheTacticalView->getAngle() + 1); - TheTacticalView->setAngle(TheTacticalView->getAngle() - 1); + TheTacticalView->forceRedraw(); } } @@ -485,11 +484,8 @@ void BaseHeightMapRenderObjClass::ReAcquireResources() } #endif - if (TheTacticalView) - { TheTacticalView->forceRedraw(); //force map to update itself for the current camera position. - //for some reason we need to do it twice otherwise we sometimes end up with a black map until - //the player moves. - TheTacticalView->forceRedraw(); + if (TheTacticalView) { + TheTacticalView->forceRedraw(); //force map to update itself for the current camera position. } } diff --git a/Generals/Code/GameEngine/Source/GameLogic/ScriptEngine/ScriptActions.cpp b/Generals/Code/GameEngine/Source/GameLogic/ScriptEngine/ScriptActions.cpp index 1273a3a909c..227cc57dcec 100644 --- a/Generals/Code/GameEngine/Source/GameLogic/ScriptEngine/ScriptActions.cpp +++ b/Generals/Code/GameEngine/Source/GameLogic/ScriptEngine/ScriptActions.cpp @@ -806,13 +806,7 @@ void ScriptActions::doPitchCamera(Real pitch, Real sec) void ScriptActions::doOversizeTheTerrain(Int amount) { oversizeTheTerrain(amount); - Coord2D offset; - offset.x = 0.0001f; - offset.y = 0.0001f; - TheTacticalView->scrollBy(&offset); - offset.x = -0.0001f; - offset.y = -0.0001f; - TheTacticalView->scrollBy(&offset); + TheTacticalView->forceRedraw(); } //------------------------------------------------------------------------------------------------- diff --git a/GeneralsMD/Code/GameEngine/Source/GameLogic/ScriptEngine/ScriptActions.cpp b/GeneralsMD/Code/GameEngine/Source/GameLogic/ScriptEngine/ScriptActions.cpp index 29955f25295..9321f800c2a 100644 --- a/GeneralsMD/Code/GameEngine/Source/GameLogic/ScriptEngine/ScriptActions.cpp +++ b/GeneralsMD/Code/GameEngine/Source/GameLogic/ScriptEngine/ScriptActions.cpp @@ -833,13 +833,7 @@ void ScriptActions::doPitchCamera(Real pitch, Real sec, Real easeIn, Real easeOu void ScriptActions::doOversizeTheTerrain(Int amount) { oversizeTheTerrain(amount); - Coord2D offset; - offset.x = 0.0001f; - offset.y = 0.0001f; - TheTacticalView->scrollBy(&offset); - offset.x = -0.0001f; - offset.y = -0.0001f; - TheTacticalView->scrollBy(&offset); + TheTacticalView->forceRedraw(); } //-------------------------------------------------------------------------------------------------