From e40e3dd530cd03503ca64893752e227d362d992c Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 22 Feb 2004 16:31:32 +0000 Subject: Cody56's fix for a minor graphics glitch. but don't commit it to the 0.6.0 branch svn-id: r12993 --- sword1/screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sword1') diff --git a/sword1/screen.cpp b/sword1/screen.cpp index dba1a77fce..3f3e0f3e3b 100644 --- a/sword1/screen.cpp +++ b/sword1/screen.cpp @@ -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; -- cgit v1.2.3