scroller.c: fix issue in the scrolldown that caused top line to repeat
This commit is contained in:
parent
caf277f5a0
commit
c8f6f247d8
|
@ -136,7 +136,7 @@ scroll_down(void)
|
||||||
|
|
||||||
/* translate map */
|
/* translate map */
|
||||||
pDst = &map_map[MAP_ROW_SCRBOT][0];
|
pDst = &map_map[MAP_ROW_SCRBOT][0];
|
||||||
pSrc = pDst+32;
|
pSrc = pDst-32;
|
||||||
for (i = MAP_ROW_SCRBOT; i > MAP_ROW_HTTOP; i--)
|
for (i = MAP_ROW_SCRBOT; i > MAP_ROW_HTTOP; i--)
|
||||||
{
|
{
|
||||||
memcpy(pDst, pSrc, (size_t)32);
|
memcpy(pDst, pSrc, (size_t)32);
|
||||||
|
|
Loading…
Reference in New Issue