projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved gravity compatibility settings to gravity switch properties page
[rocksndiamonds.git]
/
src
/
game_sp
/
DDSpriteBuffer.c
diff --git
a/src/game_sp/DDSpriteBuffer.c
b/src/game_sp/DDSpriteBuffer.c
index e4be416487fe8259ee05cf3dce921be901028c6b..5d5fc38f14a72fdb5f6724da022fc379a194bad5 100644
(file)
--- a/
src/game_sp/DDSpriteBuffer.c
+++ b/
src/game_sp/DDSpriteBuffer.c
@@
-19,7
+19,7
@@
static void Blt(int pX, int pY, Bitmap *bitmap, int SpriteX, int SpriteY)
if (NoDisplayFlag)
return;
if (NoDisplayFlag)
return;
- /
* do not draw fields that are outside the visible screen area */
+ /
/ do not draw fields that are outside the visible screen area
if (pX < sx1 || pX > sx2 || pY < sy1 || pY > sy2)
return;
if (pX < sx1 || pX > sx2 || pY < sy1 || pY > sy2)
return;
@@
-40,7
+40,7
@@
void DDSpriteBuffer_BltImg(int pX, int pY, int graphic, int sync_frame)
if (graphic < 0)
return;
if (graphic < 0)
return;
- getGraphicSource_SP(&g, graphic, sync_frame
, -1, -1
);
+ getGraphicSource_SP(&g, graphic, sync_frame);
Blt(pX, pY, g.bitmap, g.src_x, g.src_y);
}
Blt(pX, pY, g.bitmap, g.src_x, g.src_y);
}