From: nethack.allison Date: Sun, 27 Jan 2002 14:14:14 +0000 (+0000) Subject: Fix B2001 X-Git-Tag: MOVE2GIT~3328 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d0621299089e22120cd64e9317043c1f74b3c1c;p=nethack 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. --- 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;