comparison UIHouses.cpp @ 668:28109e4eee44

standard weapon shop fix
author zipi
date Thu, 14 Mar 2013 20:20:55 +0000
parents 8c595c7a3218
children 08b6d89d6a10
comparison
equal deleted inserted replaced
667:8c6c41037c39 668:28109e4eee44
1512 pItemNum = 0; 1512 pItemNum = 0;
1513 v109 = 0; 1513 v109 = 0;
1514 do 1514 do
1515 { 1515 {
1516 // if ( pParty->field_777C[9 * (int)&v48[3 * (unsigned int)window_SpeakInHouse->ptr_1C]] ) 1516 // if ( pParty->field_777C[9 * (int)&v48[3 * (unsigned int)window_SpeakInHouse->ptr_1C]] )
1517 if ( pParty->StandartItemsInShops[(unsigned int)window_SpeakInHouse->ptr_1C][(int)v48].uItemID); 1517 if ( pParty->StandartItemsInShops[(unsigned int)window_SpeakInHouse->ptr_1C][(int)v48].uItemID)
1518 { 1518 {
1519 v49 = word_F8B158[(signed int)v48]; 1519 v49 = word_F8B158[(signed int)v48];
1520 v50 = ItemsInShopTexture[(signed int)v48]; 1520 v50 = ItemsInShopTexture[(signed int)v48];
1521 v49 += 30; 1521 v49 += 30;
1522 v51 = 60 - ((signed int)v50->uTextureWidth >> 1); 1522 v51 = 60 - ((signed int)v50->uTextureWidth >> 1);