Explorar o código

Temporarily disable map smoothing as it is source of crashes

Frank Zago %!s(int64=16) %!d(string=hai) anos
pai
achega
a3d2ae2135
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      mapHandler.cpp

+ 3 - 0
mapHandler.cpp

@@ -531,6 +531,9 @@ void CMapHandler::init()
 SDL_Surface * CMapHandler::terrainRect(int x, int y, int dx, int dy, int level, unsigned char anim, std::vector< std::vector< std::vector<unsigned char> > > * visibilityMap, bool otherHeroAnim, unsigned char heroAnim, SDL_Surface * extSurf, SDL_Rect * extRect, int moveX, int moveY, bool smooth)
 {
 	int srx, sry;
+
+        // Temporarily disable smoothing as it is source of crashes
+	smooth = false;
 
 	if(!otherHeroAnim)
 		heroAnim = anim; //the same, as it should be