From 7d0621299089e22120cd64e9317043c1f74b3c1c Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sun, 27 Jan 2002 14:14:14 +0000 Subject: [PATCH] Fix B2001 B2001 [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. --- win/win32/mhmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/win32/mhmap.c b/win/win32/mhmap.c index 79d21e36f..6850cbf70 100644 --- a/win/win32/mhmap.c +++ b/win/win32/mhmap.c @@ -524,7 +524,7 @@ void onPaint(HWND hWnd) /* draw the map */ for(i=paint_rt.left; imap[i][j]>0) { + if(data->map[i][j]>=0) { uchar ch; TCHAR wch; RECT glyph_rect; @@ -558,7 +558,7 @@ void onPaint(HWND hWnd) /* draw the map */ for(i=paint_rt.left; imap[i][j]>0) { + if(data->map[i][j]>=0) { short ntile; int t_x, t_y; RECT glyph_rect; -- 2.50.1