projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19990127-1
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 5bc49709063904ac39288ec9d65a23c0a6784ecf..de8c6d6fee4e06761e8fb29ff33b1b65d78f9cdc 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-1452,12
+1452,12
@@
void DrawLevel()
redraw_mask |= (REDRAW_FIELD | REDRAW_FROM_BACKBUFFER);
}
redraw_mask |= (REDRAW_FIELD | REDRAW_FROM_BACKBUFFER);
}
-void DrawMiniLevel(int scroll_x, int scroll_y)
+void DrawMiniLevel(int s
ize_x, int size_y, int s
croll_x, int scroll_y)
{
int x,y;
{
int x,y;
- for(x=0; x<
ED_FIELDX
; x++)
- for(y=0; y<
ED_FIELDY
; y++)
+ for(x=0; x<
size_x
; x++)
+ for(y=0; y<
size_y
; y++)
DrawMiniElementOrWall(x, y, scroll_x, scroll_y);
redraw_mask |= REDRAW_FIELD;
DrawMiniElementOrWall(x, y, scroll_x, scroll_y);
redraw_mask |= REDRAW_FIELD;