Cody56's fix for a minor graphics glitch.
<Cody56> but don't commit it to the 0.6.0 branch svn-id: r12993
This commit is contained in:
parent
3fb6d8e63d
commit
e40e3dd530
1 changed files with 1 additions and 1 deletions
|
@ -737,7 +737,7 @@ void Screen::spriteClipAndSet(uint16 *pSprX, uint16 *pSprY, uint16 *pSprWidth, u
|
|||
*pSprX = (uint16)sprX;
|
||||
*pSprY = (uint16)sprY;
|
||||
|
||||
if (*pSprWidth && *pSprHeight && !_fullRefresh) {
|
||||
if (*pSprWidth && *pSprHeight) {
|
||||
// sprite will be drawn, so mark it in the grid buffer (we don't need to keep
|
||||
// track of changed blocks if we're going to do a full refresh, anyways.
|
||||
uint16 gridH = (*pSprHeight + (sprY & (SCRNGRID_Y - 1)) + (SCRNGRID_Y - 1)) / SCRNGRID_Y;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue