Sfoglia il codice sorgente

Remove apparently useless code

Dydzio 6 anni fa
parent
commit
d50add0246
1 ha cambiato i file con 4 aggiunte e 9 eliminazioni
  1. 4 9
      client/CPlayerInterface.cpp

+ 4 - 9
client/CPlayerInterface.cpp

@@ -353,16 +353,11 @@ void CPlayerInterface::heroMoved(const TryMoveHero & details)
 		// most likely this is connected with the way that this manual animation+framerate handling is solved
 		adventureInt->updateScreen = true;
 #endif
-		adventureInt->show(screen);
-		{
-			//evil returns here ...
-			//todo: get rid of it
-			logGlobal->trace("before [un]locks in %s", __FUNCTION__);
-			auto unlockPim = vstd::makeUnlockGuard(*pim); //let frame to be rendered
-			GH.mainFPSmng->framerateDelay(); //for animation purposes
-			logGlobal->trace("after [un]locks in %s", __FUNCTION__);
-		}
 
+		//evil returns here ...
+		//todo: get rid of it
+		auto unlockPim = vstd::makeUnlockGuard(*pim); //let frame to be rendered
+		GH.mainFPSmng->framerateDelay(); //for animation purposes
 	}
 	//main moving done