Add a few item graphics

This commit is contained in:
2014-12-10 20:02:38 -05:00
parent ff5a8cb4c2
commit ae09fc518f
6 changed files with 13 additions and 11 deletions

View File

@@ -722,7 +722,7 @@ void click_shop_rect(RECT area_rect)
static graf_pos calc_item_rect(int num,RECT& to_rect) {
RECT from_rect = {0,0,18,18};
sf::Texture *from_gw = &tiny_obj_gworld;
if (num < 45) {
if (num < 55) {
from_gw = &items_gworld;
from_rect = calc_rect(num % 5, num / 5);
}else{