[Fix] guiy fix, no longet see the 0 in weightless cargo.
This commit is contained in:
parent
56ef245ae1
commit
3df258229c
@ -660,11 +660,17 @@ void player_render(void) {
|
||||
|
||||
for(i = 0; i < MIN(player->ncommodities,3); i++) {
|
||||
j -= gl_smallFont.h + 3;
|
||||
if(player->commodities[i].quantity) // Quantity is over.
|
||||
gl_print(&gl_smallFont,
|
||||
gui.misc.x + 13, j,
|
||||
NULL, "%d %s%s", player->commodities[i].quantity,
|
||||
player->commodities[i].commodity->name,
|
||||
(player->commodities[i].id) ? "*" : "");
|
||||
else // Basically for weightless mission stuff.
|
||||
gl_print(&gl_smallFont,
|
||||
gui.misc.x + 13, j,
|
||||
NULL, "%s%s", player->commodities[i].commodity->name,
|
||||
(player->commodities[i].id) ? "*" : "");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user