1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-19 21:10:12 +02:00

Temporarily disable map smoothing as it is source of crashes

This commit is contained in:
Frank Zago 2009-06-12 00:51:58 +00:00
parent 58c12e8d73
commit a3d2ae2135

View File

@ -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