projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved code to draw envelope request over global animations
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index c1605b4397cac8c50d59d692dbe3f23eaf0e2ad2..e66df891e48db48c8d20558b7146523bf23f281a 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-3042,13
+3042,12
@@
static void PrepareEnvelopeRequestToScreen(Bitmap *bitmap, int sx, int sy,
request.ysize = ysize;
}
request.ysize = ysize;
}
-void DrawEnvelopeRequestToScreen(int drawing_target
, int drawing_stage
)
+void DrawEnvelopeRequestToScreen(int drawing_target)
{
if (global.use_envelope_request &&
game.request_active_or_moving &&
request.sort_priority > 0 &&
{
if (global.use_envelope_request &&
game.request_active_or_moving &&
request.sort_priority > 0 &&
- drawing_target == DRAW_TO_SCREEN &&
- drawing_stage == DRAW_GLOBAL_ANIM_STAGE_2)
+ drawing_target == DRAW_TO_SCREEN)
{
BlitToScreen(request.bitmap, 0, 0, request.xsize, request.ysize,
request.sx, request.sy);
{
BlitToScreen(request.bitmap, 0, 0, request.xsize, request.ysize,
request.sx, request.sy);