mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
*small fixes for issues introduced in previous revision (or older, I'm not sure)
This commit is contained in:
@ -706,8 +706,8 @@ void CTerrainRect::showPath(const SDL_Rect * extRect)
|
||||
int hvx = (x+arrows->ourImages[pn].bitmap->w)-(pos.x+pos.w),
|
||||
hvy = (y+arrows->ourImages[pn].bitmap->h)-(pos.y+pos.h);
|
||||
|
||||
SDL_Rect prevClip;
|
||||
SDL_GetClipRect(screen, &prevClip);
|
||||
SDL_Rect prevClip;
|
||||
SDL_GetClipRect(screen, &prevClip);
|
||||
SDL_SetClipRect(screen, extRect); //preventing blitting outside of that rect
|
||||
|
||||
if(ADVOPT.smoothMove) //version for smooth hero move, with pos shifts
|
||||
|
Reference in New Issue
Block a user