projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20100521-3-src
[rocksndiamonds.git]
/
src
/
game_sp
/
DDScrollBuffer.c
diff --git
a/src/game_sp/DDScrollBuffer.c
b/src/game_sp/DDScrollBuffer.c
index 792648d4d79430d7723644659cd9f09b161d83b1..e8bd2fbce26221c29eb956408a597d7c962dd3d4 100644
(file)
--- a/
src/game_sp/DDScrollBuffer.c
+++ b/
src/game_sp/DDScrollBuffer.c
@@
-250,6
+250,14
@@
void BlitScreenToBitmap_SP(Bitmap *target_bitmap)
px += game_sp.scroll_xoffset;
py += game_sp.scroll_yoffset;
px += game_sp.scroll_xoffset;
py += game_sp.scroll_yoffset;
+#if 1
+ if (ExplosionShakeMurphy != 0)
+ {
+ px += TILEX / 2 - GetSimpleRandom(TILEX + 1);
+ py += TILEY / 2 - GetSimpleRandom(TILEX + 1);
+ }
+#endif
+
BlitBitmap(bitmap_db_field_sp, target_bitmap, px, py, sxsize, sysize, sx, sy);
}
BlitBitmap(bitmap_db_field_sp, target_bitmap, px, py, sxsize, sysize, sx, sy);
}