Mercurial > mm7
comparison UI/UIShops.cpp @ 1980:c1c74df0a33e
changing most of auto types to their actual types
author | Grumpy7 |
---|---|
date | Wed, 30 Oct 2013 00:47:37 -0700 |
parents | 2e6d3cd052e0 |
children | 259df09dfb50 |
comparison
equal
deleted
inserted
replaced
1979:92dfa0cafbe3 | 1980:c1c74df0a33e |
---|---|
1600 pItemID = pPlayers[uActiveCharacter]->GetItemIDAtInventoryIndex((int *)&v79); | 1600 pItemID = pPlayers[uActiveCharacter]->GetItemIDAtInventoryIndex((int *)&v79); |
1601 if ( pItemID ) | 1601 if ( pItemID ) |
1602 { | 1602 { |
1603 item = &pPlayers[uActiveCharacter]->pInventoryItemList[pItemID - 1]; | 1603 item = &pPlayers[uActiveCharacter]->pInventoryItemList[pItemID - 1]; |
1604 pPriceMultiplier = p2DEvents[(unsigned int)window_SpeakInHouse->ptr_1C - 1].fPriceMultiplier; | 1604 pPriceMultiplier = p2DEvents[(unsigned int)window_SpeakInHouse->ptr_1C - 1].fPriceMultiplier; |
1605 auto _v = (ItemGen *)&pPlayers[uActiveCharacter]->pInventoryItemList[pItemID - 1]; | 1605 ItemGen* _v = &pPlayers[uActiveCharacter]->pInventoryItemList[pItemID - 1]; |
1606 uPriceItemService = pPlayers[uActiveCharacter]->GetPriceRepair(_v->GetValue(), pPriceMultiplier); | 1606 uPriceItemService = pPlayers[uActiveCharacter]->GetPriceRepair(_v->GetValue(), pPriceMultiplier); |
1607 if ( item->uAttributes & 2 ) | 1607 if ( item->uAttributes & 2 ) |
1608 { | 1608 { |
1609 if ( MerchandiseTest(item, (int)window_SpeakInHouse->ptr_1C) ) | 1609 if ( MerchandiseTest(item, (int)window_SpeakInHouse->ptr_1C) ) |
1610 { | 1610 { |