Work on more UNIX systems.

This commit is contained in:
warwick
2003-02-26 07:25:54 +00:00
parent 4b36eda755
commit 04554e7729

View File

@@ -69,6 +69,7 @@ extern "C" {
#undef max
#undef alloc
#undef lock
#undef yn
}
@@ -2535,7 +2536,7 @@ void NetHackQtStatusWindow::updateStats()
name.setLabel(buf,NetHackQtLabelledIcon::NoNum,u.ulevel);
if (describe_level(buf)) {
dlevel.setLabel(buf,TRUE);
dlevel.setLabel(buf,(bool)TRUE);
} else {
Sprintf(buf, "%s, level ", dungeons[u.uz.dnum].dname);
dlevel.setLabel(buf,(long)depth(&u.uz));