1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 11:27:39 +00:00

ads-game:: display score in dS

This commit is contained in:
Zeno Rogue
2022-09-28 21:26:43 +02:00
parent a9c416ac64
commit 0367d9553d
3 changed files with 7 additions and 3 deletions

View File

@@ -78,7 +78,11 @@ void display(int id, int y, ld val, ld maxv, ld tank, ld unit) {
ld bot = ctr+5;
if(maxv == 0) {
queuestr(sta, ctr, 0, 20, its(val+.05), col >> 8, 1, 0);
string s;
if(main_rock) s = format(tformat, current.shift);
else s = its(val + .5);
queuestr(sta, ctr, 0, 20, s, col >> 8, 1, 0);
return;
}