Mercurial > mm7
comparison mm7_4.cpp @ 917:ae9e2a339b09
disappear items fix
author | Ritor1 |
---|---|
date | Fri, 26 Apr 2013 17:35:19 +0600 |
parents | 897b10712a1a |
children | a78f08dbeb88 21cc2b274220 |
comparison
equal
deleted
inserted
replaced
916:897b10712a1a | 917:ae9e2a339b09 |
---|---|
3755 v29 = pPlayer->GetBuyingPrice(v28, v27); | 3755 v29 = pPlayer->GetBuyingPrice(v28, v27); |
3756 if ( a5 == 3 ) | 3756 if ( a5 == 3 ) |
3757 { | 3757 { |
3758 v35 = *v26; | 3758 v35 = *v26; |
3759 v36 = a3->GetValue(); | 3759 v36 = a3->GetValue(); |
3760 v29 = pPlayer->_4B8102(v36, v35); | 3760 v29 = pPlayer->GetPriceSell(v36, v35); |
3761 if (a3->Broken()) | 3761 if (a3->Broken()) |
3762 v29 = 1; | 3762 v29 = 1; |
3763 goto _continue_sprintf; | 3763 goto _continue_sprintf; |
3764 } | 3764 } |
3765 if ( a5 != 4 ) | 3765 if ( a5 != 4 ) |
3774 { | 3774 { |
3775 if ( a5 == 6 ) | 3775 if ( a5 == 6 ) |
3776 { | 3776 { |
3777 v30 = *v26; | 3777 v30 = *v26; |
3778 v31 = a3->GetValue(); | 3778 v31 = a3->GetValue(); |
3779 v29 = pPlayer->_4B8102(v31, v30) / 2; | 3779 v29 = pPlayer->GetPriceSell(v31, v30) / 2; |
3780 if (a3->Broken()) | 3780 if (a3->Broken()) |
3781 v29 = 1; | 3781 v29 = 1; |
3782 if (!v29) | 3782 if (!v29) |
3783 v29 = 1; | 3783 v29 = 1; |
3784 goto _continue_sprintf; | 3784 goto _continue_sprintf; |