the latest Qt4 travis breakage

This commit is contained in:
nhmall
2019-12-06 09:06:31 -05:00
parent d6b8dc9b3f
commit 28f50066e0

View File

@@ -431,7 +431,7 @@ void NetHackQtStatusWindow::updateStats()
if (u.mtimedone) {
buf = nh_capitalize_words(mons[u.umonnum].mname);
} else {
buf = rank_of(u.ulevel, pl_character[0], ::flags.female);
buf = rank_of(u.ulevel, g.pl_character[0], ::flags.female);
}
QString buf2;
buf2.sprintf("%s the %s", g.plname, buf.toLatin1().constData());
@@ -441,7 +441,7 @@ void NetHackQtStatusWindow::updateStats()
if (describe_level(buf3)) {
dlevel.setLabel(buf3,true);
} else {
buf.sprintf("%s, level ", dungeons[u.uz.dnum].dname);
buf.sprintf("%s, level ", g.dungeons[u.uz.dnum].dname);
dlevel.setLabel(buf,(long)::depth(&u.uz));
}