the latest Qt4 travis breakage
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user