the latest Qt4 travis breakage
This commit is contained in:
+2
-2
@@ -431,7 +431,7 @@ void NetHackQtStatusWindow::updateStats()
|
|||||||
if (u.mtimedone) {
|
if (u.mtimedone) {
|
||||||
buf = nh_capitalize_words(mons[u.umonnum].mname);
|
buf = nh_capitalize_words(mons[u.umonnum].mname);
|
||||||
} else {
|
} else {
|
||||||
buf = rank_of(u.ulevel, pl_character[0], ::flags.female);
|
buf = rank_of(u.ulevel, g.pl_character[0], ::flags.female);
|
||||||
}
|
}
|
||||||
QString buf2;
|
QString buf2;
|
||||||
buf2.sprintf("%s the %s", g.plname, buf.toLatin1().constData());
|
buf2.sprintf("%s the %s", g.plname, buf.toLatin1().constData());
|
||||||
@@ -441,7 +441,7 @@ void NetHackQtStatusWindow::updateStats()
|
|||||||
if (describe_level(buf3)) {
|
if (describe_level(buf3)) {
|
||||||
dlevel.setLabel(buf3,true);
|
dlevel.setLabel(buf3,true);
|
||||||
} else {
|
} 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));
|
dlevel.setLabel(buf,(long)::depth(&u.uz));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user