瀏覽代碼

Temporarily disable map smoothing as it is source of crashes

Frank Zago 16 年之前
父節點
當前提交
a3d2ae2135
共有 1 個文件被更改,包括 3 次插入0 次删除
  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