Mercurial > mm7
comparison mm7_2.cpp @ 668:28109e4eee44
standard weapon shop fix
author | zipi |
---|---|
date | Thu, 14 Mar 2013 20:20:55 +0000 |
parents | 2bf48d11d742 |
children | fb87a8249794 ecfb1b3c9a39 |
comparison
equal
deleted
inserted
replaced
667:8c6c41037c39 | 668:28109e4eee44 |
---|---|
1755 return; | 1755 return; |
1756 v30 = window_SpeakInHouse->ptr_1C; | 1756 v30 = window_SpeakInHouse->ptr_1C; |
1757 // v31 = 9 * (v29 - 1 + 12 * (int)v30); | 1757 // v31 = 9 * (v29 - 1 + 12 * (int)v30); |
1758 if ( dialog_menu_id == 2 ) | 1758 if ( dialog_menu_id == 2 ) |
1759 { | 1759 { |
1760 v32 = (ItemGen *)&pParty->StandartItemsInShops[(int)v30][v29]; | 1760 v32 = (ItemGen *)&pParty->StandartItemsInShops[(int)v30][v29-1]; |
1761 _this = (ItemGen *)&pParty->StandartItemsInShops[(int)v30][v29]; | 1761 _this = (ItemGen *)&pParty->StandartItemsInShops[(int)v30][v29-1]; |
1762 } | 1762 } |
1763 else | 1763 else |
1764 { | 1764 { |
1765 _this =&pParty->SpecialItemsInShops[(int)v30][v29-1]; //(ItemGen *)&pParty->field_C59C[v31 + 724]; | 1765 _this =&pParty->SpecialItemsInShops[(int)v30][v29-1]; //(ItemGen *)&pParty->field_C59C[v31 + 724]; |
1766 v32 = &pParty->SpecialItemsInShops[(int)v30][v29-1];//(ItemGen *)&pParty->field_C59C[v31 + 724]; | 1766 v32 = &pParty->SpecialItemsInShops[(int)v30][v29-1];//(ItemGen *)&pParty->field_C59C[v31 + 724]; |