Fix B2001
B2001 <Someone> [reported] win32?: giant ant is black square Where is the open doorway with the giant ant standing in it? There used to be a closed door there, if I recall correctly. [now there is just a black square] I'm saving the level files at this point, and I will be saving the game after I did that, in case you're interested in any save files.
This commit is contained in:
+2
-2
@@ -524,7 +524,7 @@ void onPaint(HWND hWnd)
|
|||||||
/* draw the map */
|
/* draw the map */
|
||||||
for(i=paint_rt.left; i<paint_rt.right; i++)
|
for(i=paint_rt.left; i<paint_rt.right; i++)
|
||||||
for(j=paint_rt.top; j<paint_rt.bottom; j++)
|
for(j=paint_rt.top; j<paint_rt.bottom; j++)
|
||||||
if(data->map[i][j]>0) {
|
if(data->map[i][j]>=0) {
|
||||||
uchar ch;
|
uchar ch;
|
||||||
TCHAR wch;
|
TCHAR wch;
|
||||||
RECT glyph_rect;
|
RECT glyph_rect;
|
||||||
@@ -558,7 +558,7 @@ void onPaint(HWND hWnd)
|
|||||||
/* draw the map */
|
/* draw the map */
|
||||||
for(i=paint_rt.left; i<paint_rt.right; i++)
|
for(i=paint_rt.left; i<paint_rt.right; i++)
|
||||||
for(j=paint_rt.top; j<paint_rt.bottom; j++)
|
for(j=paint_rt.top; j<paint_rt.bottom; j++)
|
||||||
if(data->map[i][j]>0) {
|
if(data->map[i][j]>=0) {
|
||||||
short ntile;
|
short ntile;
|
||||||
int t_x, t_y;
|
int t_x, t_y;
|
||||||
RECT glyph_rect;
|
RECT glyph_rect;
|
||||||
|
|||||||
Reference in New Issue
Block a user