projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renamed duplicate definition of global variable
[rocksndiamonds.git]
/
src
/
game_sp
/
DDScrollBuffer.c
diff --git
a/src/game_sp/DDScrollBuffer.c
b/src/game_sp/DDScrollBuffer.c
index 0db7e7fd2af75a00ef34dbc429e676d1c6395c92..13c773a164e99e2432ad67cc4d0d045184fb1a71 100644
(file)
--- a/
src/game_sp/DDScrollBuffer.c
+++ b/
src/game_sp/DDScrollBuffer.c
@@
-185,7
+185,7
@@
void UpdatePlayfield(boolean force_redraw)
{
int element = LowByte(PlayField16[GetSI(x, y)]);
int graphic = GfxGraphic[x][y];
{
int element = LowByte(PlayField16[GetSI(x, y)]);
int graphic = GfxGraphic[x][y];
- int sync_frame = GfxFrame[x][y];
+ int sync_frame = GfxFrame
SP
[x][y];
boolean redraw = force_redraw;
if (graphic < 0)
boolean redraw = force_redraw;
if (graphic < 0)
@@
-212,7
+212,7
@@
void UpdatePlayfield(boolean force_redraw)
GfxElementLast[x][y] = element;
GfxGraphicLast[x][y] = GfxGraphic[x][y];
GfxElementLast[x][y] = element;
GfxGraphicLast[x][y] = GfxGraphic[x][y];
- sync_frame = GfxFrame[x][y] = 0;
+ sync_frame = GfxFrame
SP
[x][y] = 0;
}
else if (isNextAnimationFrame_SP(graphic, sync_frame)) // new frame
{
}
else if (isNextAnimationFrame_SP(graphic, sync_frame)) // new frame
{