Inventory bugfix.

master
twetzel59 2017-05-01 14:17:39 -04:00
parent 3b44099b65
commit 7e7c624f74
1 changed files with 1 additions and 1 deletions

View File

@ -1875,7 +1875,7 @@ void render_item_count(Attrib *attrib, float ts) {
}
char buf[buf_len];
//snprintf(buf, buf_len, "%d\n", Inventory_getCount(&g->inventory, items[g->item_index + i]));
snprintf(buf, buf_len, "%d\n", Inventory_getCount(&g->inventory, items[g->item_index + i]));
//snprintf(buf, buf_len, "%d\n", g->inventory.count[items[g->item_index]]);
render_text(attrib, ALIGN_CENTER, g->width - 20.0f, pos, ts, buf);