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:
parent
58c12e8d73
commit
a3d2ae2135
@ -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)
|
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;
|
int srx, sry;
|
||||||
|
|
||||||
|
// Temporarily disable smoothing as it is source of crashes
|
||||||
|
smooth = false;
|
||||||
|
|
||||||
if(!otherHeroAnim)
|
if(!otherHeroAnim)
|
||||||
heroAnim = anim; //the same, as it should be
|
heroAnim = anim; //the same, as it should be
|
||||||
|
Loading…
x
Reference in New Issue
Block a user